Interface TreeMapLayout

Index

Properties

Methods

Properties

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

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

Returns

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

(): TreeMapLayout

Returns

TreeMapLayout

public mode: { (): string; (mode: string): D3.Layout.TreeMapLayout; }

(): string

Returns

string

(): TreeMapLayout

Returns

TreeMapLayout

public padding: { (): number; (padding: number): D3.Layout.TreeMapLayout; }

(): number

Returns

number

(): TreeMapLayout

Returns

TreeMapLayout

public round: { (): boolean; (round: boolean): D3.Layout.TreeMapLayout; }

(): boolean

Returns

boolean

(): TreeMapLayout

Returns

TreeMapLayout

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

(): Array<number>

Returns

Array<number>

(): TreeMapLayout

Returns

TreeMapLayout

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

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

Returns

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

(): TreeMapLayout

Returns

TreeMapLayout

public sticky: { (): boolean; (sticky: boolean): D3.Layout.TreeMapLayout; }

(): boolean

Returns

boolean

(): TreeMapLayout

Returns

TreeMapLayout

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

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

Returns

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

(): TreeMapLayout

Returns

TreeMapLayout

Methods

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

Parameters

Returns

GraphLink[]

public nodes(root: GraphNode): GraphNode[]

Parameters

Returns

GraphNode[]