tree-controller / Exports / TreeController / Tree / ConstructorFunctions
TreeController.Tree.ConstructorFunctions
| Name | Type |
|---|---|
N |
any |
▸ fillNodesArray(instance, ...args): N[]
Function
fillNodesArray will be called in Storage constructor
to fill that instance's nodes property, that is a flat array
containing the tree's every nodes.
| Name | Type | Description |
|---|---|---|
instance |
Tree<N> |
of Storage |
...args |
any[] |
extra arguments you can provide as necessary |
N[]