OptionalcollapsedContainers drawn as a single box.
OptionaldirectionLayers run left→right ("right", default) or top→bottom ("down").
Size of a transition's label (real orientation).
OptionalmaxWidth to stay within where the layout has a choice (px): with direction: "down",
parallel regions that would sit side by side wrap into fewer columns, down to one.
The size a state needs for its own content. Leaves (and collapsed containers): the whole box. Expanded containers: their header (name and anything listed with it); the layout adds room for the children.
OptionalportalsTransitions not to route: the element lists them in their source's box instead
(see portalTransitions). They take no part in the layout.
OptionalspacingOverride some of the default gaps.
Input to
layoutChart: how big things are, and which way to lay them out.