BTreeNode

class visualife.diagrams.BTreeNode(id, value, left=None, right=None)

Bases: visualife.diagrams.TreeNode

Creates 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-idx where ID is the ID of a layout object and idx is 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 subtree

Attributes Summary

left
right

Attributes Documentation

left
right