Trees

Term.Trees.TreeType
Tree

A tree is composed of nodes (other trees) and leaves (end items). It renders as a hierarchical structure with lines (guides) connecting the various elements

source
Term.Trees.TreeMethod
Tree(T::DataType)::Tree

Construct a Tree visualization of T's types hierarchy

source
Term.Trees.TreeMethod
Tree(data::Union{AbstractDict, Pair}; level=0, title::String="tree", kwargs...)

Construct a Tree out of a Dict or OrderedDict. Recursively handle nested Dicts.

source
Term.Trees.make_hierarchy_dictMethod
make_hierarchy_dict(x::Vector{DataType}, T::DataType, Tsubs::AbstractDict)::AbstractDict

Recursively create a dictionary with the types hierarchy for T. Tsubs carries information about T's subtypes. The AbstractDict is made backwards. From the deepest levels up.

source
Term.Trees.renderMethod
render(tree::Tree)::Vector{Segment}

Render a Tree into segments. Recursively handle nested trees.

source