Interface HierarchyLayout

Index

Properties

Methods

Properties

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

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

Returns

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

(): HierarchyLayout

Returns

HierarchyLayout

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

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

Returns

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

(): HierarchyLayout

Returns

HierarchyLayout

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

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

Returns

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

(): HierarchyLayout

Returns

HierarchyLayout

Methods

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

Parameters

Returns

GraphLink[]

public nodes(root: GraphNode): GraphNode[]

Parameters

Returns

GraphNode[]

public reValue(root: GraphNode): HierarchyLayout

Parameters

Returns

HierarchyLayout