IdTree

class dash_component_template.idtree.IdTree(parent=None)[source]

Bases: anytree.node.nodemixin.NodeMixin

A class for managing a tree of instances with unique ids.

A hierarchy of ids are managed in a tree-like data structure, enabled by the underlying ~anytree.node.nodemixin.NodeMixin class. The id of each tree node is a compositions of the parent’s id and the label of this node.

Attributes Summary

id The unique id.
idbase The base name to use for generated unique id.

Attributes Documentation

id

The unique id.

idbase

The base name to use for generated unique id.