charts.tree (spec/13 §5.1): a tree or a cluster (a dendrogram) laid out in either
orientation, its links curved, elbowed or straight, internal nodes filled, leaves
labeled outward. Copied from visualize's Visualize.Chart.Presets.tree_diagram/1 and
Visualize.Components.Tree, and the gallery's Examples.Charts.ClusterDendrogram
(examples/lib/examples/charts/cluster_dendrogram.ex): a layout frame whose layers lay
out the nodes slot by the tree or cluster step.
iex> Macaw.Frame.Charts.Tree.id()
"charts.tree"
Summary
Functions
What it draws, for a person and a builder's library.
Its fixtures (spec/14 §1): a small service hierarchy.
The fragment: links and nodes laid out by the tree or cluster step.
A hierarchy's slot (spec/13 §5): nodes, id, parent, label and value.
The fragment's id in the catalog store.
What the fragment is: a whole design, or layers placed in one.
Its namespace (spec/13 §2).
Its parameters (spec/13 §3, §5.1).
Its slot: a hierarchy's nodes (spec/13 §5).
Functions
@spec doc() :: String.t()
What it draws, for a person and a builder's library.
@spec fixtures() :: [map()]
Its fixtures (spec/14 §1): a small service hierarchy.
@spec fragment() :: map()
The fragment: links and nodes laid out by the tree or cluster step.
A hierarchy's slot (spec/13 §5): nodes, id, parent, label and value.
@spec id() :: String.t()
The fragment's id in the catalog store.
@spec kind() :: :design | :layers
What the fragment is: a whole design, or layers placed in one.
@spec namespace() :: :charts | :maps | :diagrams
Its namespace (spec/13 §2).
Its parameters (spec/13 §3, §5.1).
Its slot: a hierarchy's nodes (spec/13 §5).