Methods
children
- children(): function
- children(children: function): Pack<T>
-
Returns function
-
- (node: T, depth: number): T[]
-
Parameters
-
children: function
-
- (node: T, depth: number): T[]
Returns Pack<T>
links
- links(nodes: T[]): Link<T>[]
-
Parameters
Returns Link<T>[]
padding
- padding(): number
- padding(padding: number): Pack<T>
-
Returns number
-
Parameters
Returns Pack<T>
radius
- radius(): number | function
- radius(radius: number): Pack<T>
- radius(radius: function): Pack<T>
-
Returns number
|
function
-
Parameters
Returns Pack<T>
-
Parameters
-
radius: function
-
-
Parameters
Returns number
Returns Pack<T>
size
- size(): [number, number]
- size(size: [number, number]): Pack<T>
-
Returns [number, number]
-
Parameters
Returns Pack<T>
sort
- sort(): function
- sort(comparator: function): Pack<T>
-
Returns function
-
-
Parameters
Returns number
-
Parameters
-
comparator: function
-
-
Parameters
Returns number
Returns Pack<T>
value
- value(): function
- value(value: function): Pack<T>
-
Returns function
-
-
Parameters
Returns number
-
Parameters
-
value: function
-
-
Parameters
Returns number
Returns Pack<T>