Function treeStack

    • Intrinsic ("hug-contents") layout of a tree as nested vertical stacks: each container's size is the bottom-up sum of its children, each child is placed top-down from its container. Unlike row/col (which fit items into a fixed container), the containers grow to fit. Pure function of the inputs, so feeding it a previewed tree yields a previewed layout.

      Type Parameters

      • Id

      Parameters

      Returns TreeStack<Id>