TreeOptions
What steers a tidy-tree layout.
Used as Input
0
functions accept this type(+6 nested)
Used as Output
0
functions return this type
Type Definition
11 nested items
struct— What steers a tidy-tree layout.
variant 1:"leftright"— Layers advance left to right.
variant 2:"topbottom"— Layers advance top to bottom.
edge_style:TreeEdgeStyle— How a tree edge is drawn between parent and child.
variant 1:"straight"— The straight parent-to-child line, clipped to both borders. A wide fan's outer edges run
variant 2:"elbow"— The org-chart elbow through the middle of the row gap, where no node is. This is the
level_alignment:LevelAlignment— Which row a node is drawn in, along the axis the tree grows.
variant 1:"by_depth"— One row per depth, shared by the whole drawing. A node of depth
d sits in row d, androw_gap:f64— Gap between two depth rows, on the axis the tree grows along, in px. Defaults to
56.sibling_gap:f64— Clearance between the boxes of two neighbouring siblings, in px. Defaults to
28.subtree_gap:f64— Clearance between two nodes that face each other on the contours of different subtrees,
Example JSON Value
{}