This utility class is used in {@link NodeBuilder} as an internal cache data structure for node data.
Constructor
new NodeCache(parent?)| Parameter | Type | Default Value |
|---|---|---|
| parent? | null | NodeCache | null |
Constructs a new node cache.
| Method | Type | Modifiers |
|---|---|---|
| getData | (node: Node) => null | Object | — |
| setData | (node: Node, data: Object) => void | — |