BTreeNode¶
-
class
visualife.diagrams.BTreeNode(id, value, left=None, right=None)¶ Bases:
visualife.diagrams.TreeNodeCreates a binary tree node.
Parameters: id – ( string) a string that is used to identify graphical elements of this tree.ID of a node will be created as
ID-idxwhereIDis the ID of a layout object andidxis the index of this node :param value: value stored at this node :param left: (BTreeNode) reference to the root of a left subtree :param right: (BTreeNode) reference to the root of a right subtreeAttributes Summary
leftrightAttributes Documentation
-
left¶
-
right¶
-