TreeRequest
A tidy-tree request: a rooted tree or forest, and the TreeOptions fields to change.
Used as Input
1
function accept this type
Used as Output
0
functions return this type(+1 nested)
Type Definition
102 nested items
struct— A tidy-tree request: a rooted tree or forest, and the TreeOptions fields to change.
nodes:Vec<Node>— Nodes, in
NodeId order.edge_style:TreeEdgeStyle— How a tree edge is drawn between parent and child.
level_alignment:LevelAlignment— Which row a node is drawn in, along the axis the tree grows.
row_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
{}