Interface CompressedNodeRow

Representation of a tree node row.

interface CompressedNodeRow {
    compressionChain?: HeadAndTail<TreeNode>;
    depth: number;
    index: number;
    node: TreeNode;
}

Hierarchy (view full)

Properties

compressionChain?: HeadAndTail<TreeNode>
depth: number

A root relative number representing the hierarchical depth of the actual node. Root is 0, its children have 1 and so on.

index: number

The node row index.

node: TreeNode

The actual node.