Hierarchies topic
Before you can compute a hierarchical layout, you need a root node. If your data is already in a hierarchical format, such as JSON, you can pass it directly to hierarchy; otherwise, you can rearrange tabular data, such as comma-separated values (CSV), into a hierarchy using stratify.
Classes
-
HierarchyNode<
T> Hierarchies - A hierarchy node holds data, it can be linked to a parent if it is not a root, as well as to children if it is not a leaf.
-
HierarchyNode<
T> Hierarchies - A hierarchy node holds data, it can be linked to a parent if it is not a root, as well as to children if it is not a leaf.
-
HierarchyNode<
T> Hierarchies - A hierarchy node holds data, it can be linked to a parent if it is not a root, as well as to children if it is not a leaf.
Functions
-
hierarchy<
T> (T data, Iterable< HierarchiesT> ? children(T)) → HierarchyNode<T> -
Equivalent to hierarchyWithDefaults, but requires
data
andchildren
. -
hierarchy<
T> (T data, Iterable< HierarchiesT> ? children(T)) → HierarchyNode<T> -
Equivalent to hierarchyWithDefaults, but requires
data
andchildren
. -
hierarchy<
T> (T data, Iterable< HierarchiesT> ? children(T)) → HierarchyNode<T> -
Equivalent to hierarchyWithDefaults, but requires
data
andchildren
. -
hierarchyWithDefaults(
dynamic data, [Iterable? children(dynamic)?]) → HierarchyNode Hierarchies -
Constructs a root node from the specified hierarchical
data
. -
hierarchyWithDefaults(
dynamic data, [Iterable? children(dynamic)?]) → HierarchyNode Hierarchies -
Constructs a root node from the specified hierarchical
data
. -
hierarchyWithDefaults(
dynamic data, [Iterable? children(dynamic)?]) → HierarchyNode Hierarchies -
Constructs a root node from the specified hierarchical
data
.