Skip to content

JSON tree export for external visualization #16

@ToySin

Description

@ToySin

Summary

Export tree structure and node status as JSON, enabling integration with external visualization tools (web UI, Graphviz, etc).

Details

  • ExportJSON(tree *Tree) ([]byte, error) — serialize tree structure with node type, name, status, children
  • Output should include all information needed to render the tree externally
  • Example output:
    {
      "type": "Fallback",
      "name": "dispatch",
      "status": "Success",
      "children": [
        {
          "type": "Sequence",
          "name": "try-assign",
          "status": "Failure",
          "children": [...]
        }
      ]
    }

Scope

Low priority — groundwork for future rich visualization (web dashboard, real-time monitoring, etc).

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions