interface INodeState {
    depth: number;
    el: HTMLElement;
    id: number;
    key: string;
    path: string;
    size: [width: number, height: number];
    x0: number;
    y0: number;
}

Properties

Properties

depth: number
el: HTMLElement
id: number

An auto-increment unique ID for each node.

key: string

The unique identifier of a node, supposed to be based on content.

path: string

A dot separated sequence of the node and its ancestors.

size: [width: number, height: number]
x0: number
y0: number