Interface ClusterLayout

Index

Properties

Methods

Properties

public children: { (): (d: any, i?: number) => D3.Layout.GraphNode[]; (children: (d: any, i?: number) => D3.Layout.GraphNode[]): D3.Layout.ClusterLayout; }

(): (d: any, i?: number) => D3.Layout.GraphNode[]

Returns

(d: any, i?: number) => D3.Layout.GraphNode[]

(): ClusterLayout

Returns

ClusterLayout

public seperation: { (): (a: D3.Layout.GraphNode, b: D3.Layout.GraphNode) => number; (seperation: (a: D3.Layout.GraphNode, b: D3.Layout.GraphNode) => number): D3.Layout.ClusterLayout; }

(): (a: D3.Layout.GraphNode, b: D3.Layout.GraphNode) => number

Returns

(a: D3.Layout.GraphNode, b: D3.Layout.GraphNode) => number

(): ClusterLayout

Returns

ClusterLayout

public size: { (): number[]; (size: number[]): D3.Layout.ClusterLayout; }

(): Array<number>

Returns

Array<number>

(): ClusterLayout

Returns

ClusterLayout

public sort: { (): (a: D3.Layout.GraphNode, b: D3.Layout.GraphNode) => number; (comparator: (a: D3.Layout.GraphNode, b: D3.Layout.GraphNode) => number): D3.Layout.ClusterLayout; }

(): (a: D3.Layout.GraphNode, b: D3.Layout.GraphNode) => number

Returns

(a: D3.Layout.GraphNode, b: D3.Layout.GraphNode) => number

(): ClusterLayout

Returns

ClusterLayout

public value: { (): (node: D3.Layout.GraphNode) => number; (value: (node: D3.Layout.GraphNode) => number): D3.Layout.ClusterLayout; }

(): (node: D3.Layout.GraphNode) => number

Returns

(node: D3.Layout.GraphNode) => number

(): ClusterLayout

Returns

ClusterLayout

Methods

public links(nodes: GraphNode[]): GraphLink[]

Parameters

Returns

GraphLink[]

public nodes(root: GraphNode): GraphNode[]

Parameters

Returns

GraphNode[]