layout_algorithms

layout_algorithms#

Algorithms for expanding and collapsing foldable nodes.

Functions

expand_for_balanced_layout(tree[, ...])

Updates a tree's (weak) expand states to achieve a "balanced" layout.

expand_to_depth(tree, depth)

Expands a tree up to a given depth.

expand_to_tags(tree, tags, collapse_weak_others)

Expands a tree so that any part with a tag in the given set is fisible.