Provides a generic tree data structure and related functionality.
A tree has a root node, which may contain any number of child nodes, which may themselves contain child nodes, ad infinitum.
Child nodes are lightweight function instances which delegate to the tree for all significant functionality, so trees remain performant and memory-efficient even with thousands and thousands of nodes.
This module provides the following classes:
This module is a rollup of the following modules:
Treethat adds baked-in support for node labels like you might see in a treeview or menu.
Plugin.Tree.Lazy, a plugin for
Tree.Openablethat makes it easy to lazily load and populate the contents of tree nodes the first time they're opened.
Tree.Nodeclass, which represents a tree node contained in a
Treethat adds the concept of open/closed state for nodes.
Treethat adds the concept of selection state for nodes.
Treethat makes nodes sortable.