Class pinnacle.layout.LayoutNode
​
Fields ​
label nullable ​
label?
: string
A label that helps Pinnacle decide how to diff layout trees.
traversal_index nullable ​
traversal_index?
: integer
An index that determines how Pinnacle traverses a layout tree.
traversal_overrides nullable ​
traversal_overrides?
: table<integer, integer[]>
A set of indices per window index that changes how that window is assigned a geometry.
layout_dir nullable ​
layout_dir?
: pinnacle.layout.LayoutDir
The direction that child nodes are laid out.
gaps nullable ​
gaps?
: number | pinnacle.layout.Gaps
The gaps the node applies around its children nodes.
size_proportion nullable ​
size_proportion?
: number
The proportion the node takes up relative to its siblings.
children ​
children
: pinnacle.layout.LayoutNode[]
Child layout nodes.