Skip to main content
Rust4PM

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.
graph:Graph— The graph to lay out: nodes addressed by index, edges referring to those indices.
options:TreeOptions— What steers a tidy-tree layout.
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

{}

Functions Accepting This Type(1)