Which directions nodes may be moved in during layout.
'RIGHT_UP'
socket_alignment
str
How aggressively links are straightened by aligning the sockets they connect.
'NONE'
add_reroutes
bool
Insert reroute nodes to route long edges around nodes. Off by default: added reroutes are real nodes, which would change the authored structure of generated trees (node counts, round-trips, diagrams).
False
keep_reroutes_outside_frames
bool
Do not place added reroutes inside frames.
False
stack_collapsed
bool
Stack consecutive collapsed nodes tightly.
True
stack_margin_y_fac
float
Fraction of the vertical margin used between stacked collapsed nodes.
0.5
optimize_sizes
bool
Fit the widths of collapsed nodes to their display name.