Tree Visualization
iCraft supports rendering structural relationships using custom tree-structured data, making tree data intuitively visualizable.
Syntax
Tree is a data format for describing tree structures, which uses JSON syntax. The main syntax rules are as follows:
name: The name of the node, which must be unique within the tree.type: Defines the element type of the node, which determines how the node will be rendered visually.If a node contains
children, itstypemust be "area".If the
typevalue does not match any built-in graphic, a cube will be rendered instead.
children: Optional, used to define an array of child nodes.targets: Optional, used to define connection targets (an array of target nodes'namevalues). Connections can be made to any node, not limited to sibling or parent-child relationships.
Example
Tree Codes
Visualization in iCraft

Last updated