Skip to content

@graphty/algorithms / index / HierarchicalOptions

Interface: HierarchicalOptions ​

Defined in: indexed/hierarchical.ts:11

Options of the index-based hierarchical clustering.

Properties ​

linkage? ​

readonly optional linkage?: Linkage

Defined in: indexed/hierarchical.ts:13

Cluster distance: the minimum, maximum or mean member distance, or Ward's scaled mean; default single.


maxNodes? ​

readonly optional maxNodes?: number

Defined in: indexed/hierarchical.ts:18

Refuse a graph of more nodes than this before allocating its n x n matrices (28 n^2 bytes), with a RangeError of code E_TOO_LARGE and params { nodeCount, maxNodes, bytes }. Default: no bound.