arlas-d3 > "donuts/utils/DonutUtils" > DonutNode

Interface: DonutNode

Hierarchy

HierarchyRectangularNode<any>

↳ DonutNode

Index

Properties

Methods


Properties

<Optional> children

● children: this[]

Inherited from HierarchyNode.children

Defined in /docs/node_modules/@types/d3-hierarchy/index.d.ts:52


data

● data: any

Inherited from HierarchyNode.data

Defined in /docs/node_modules/@types/d3-hierarchy/index.d.ts:32


depth

● depth: number

Inherited from HierarchyNode.depth

Defined in /docs/node_modules/@types/d3-hierarchy/index.d.ts:37


endAngle

● endAngle: number

Defined in donuts/utils/DonutUtils.ts:62


height

● height: number

Inherited from HierarchyNode.height

Defined in /docs/node_modules/@types/d3-hierarchy/index.d.ts:42


<Optional> id

● id: string

Inherited from HierarchyNode.id

Defined in /docs/node_modules/@types/d3-hierarchy/index.d.ts:62


innerRadius

● innerRadius: number

Defined in donuts/utils/DonutUtils.ts:59


isSelected

● isSelected: boolean

Defined in donuts/utils/DonutUtils.ts:58


outerRadius

● outerRadius: number

Defined in donuts/utils/DonutUtils.ts:60


parent

● parent: this | null

Inherited from HierarchyNode.parent

Defined in /docs/node_modules/@types/d3-hierarchy/index.d.ts:47


startAngle

● startAngle: number

Defined in donuts/utils/DonutUtils.ts:61


<Optional> value

● value: number

Inherited from HierarchyNode.value

Defined in /docs/node_modules/@types/d3-hierarchy/index.d.ts:57


x0

● x0: number

Inherited from HierarchyRectangularNode.x0

Defined in /docs/node_modules/@types/d3-hierarchy/index.d.ts:373


x1

● x1: number

Inherited from HierarchyRectangularNode.x1

Defined in /docs/node_modules/@types/d3-hierarchy/index.d.ts:383


y0

● y0: number

Inherited from HierarchyRectangularNode.y0

Defined in /docs/node_modules/@types/d3-hierarchy/index.d.ts:378


y1

● y1: number

Inherited from HierarchyRectangularNode.y1

Defined in /docs/node_modules/@types/d3-hierarchy/index.d.ts:388


Methods

ancestors

ancestors(): this[]

Inherited from HierarchyNode.ancestors

Defined in /docs/node_modules/@types/d3-hierarchy/index.d.ts:67

Returns: this[]


copy

copy(): this

Inherited from HierarchyNode.copy

Defined in /docs/node_modules/@types/d3-hierarchy/index.d.ts:147

Returns: this


count

count(): this

Inherited from HierarchyNode.count

Defined in /docs/node_modules/@types/d3-hierarchy/index.d.ts:105

Returns: this


descendants

descendants(): this[]

Inherited from HierarchyNode.descendants

Defined in /docs/node_modules/@types/d3-hierarchy/index.d.ts:72

Returns: this[]


each

each(func: function): this

Inherited from HierarchyNode.each

Defined in /docs/node_modules/@types/d3-hierarchy/index.d.ts:125

Parameters:

Name Type Description
func function The specified function is passed the current node.

Returns: this


eachAfter

eachAfter(func: function): this

Inherited from HierarchyNode.eachAfter

Defined in /docs/node_modules/@types/d3-hierarchy/index.d.ts:133

Parameters:

Name Type Description
func function The specified function is passed the current node.

Returns: this


eachBefore

eachBefore(func: function): this

Inherited from HierarchyNode.eachBefore

Defined in /docs/node_modules/@types/d3-hierarchy/index.d.ts:141

Parameters:

Name Type Description
func function The specified function is passed the current node.

Returns: this


leaves

leaves(): this[]

Inherited from HierarchyNode.leaves

Defined in /docs/node_modules/@types/d3-hierarchy/index.d.ts:77

Returns: this[]


links(): Array<HierarchyRectangularLink<any>>

Inherited from HierarchyRectangularNode.links

Overrides HierarchyNode.links

Defined in /docs/node_modules/@types/d3-hierarchy/index.d.ts:394

Returns: Array<HierarchyRectangularLink<any>>


path

path(target: this): this[]

Inherited from HierarchyNode.path

Defined in /docs/node_modules/@types/d3-hierarchy/index.d.ts:85

Parameters:

Name Type Description
target this The target node.

Returns: this[]


sort

sort(compare: function): this

Inherited from HierarchyNode.sort

Defined in /docs/node_modules/@types/d3-hierarchy/index.d.ts:116

Parameters:

Name Type Description
compare function The compare function is passed two nodes a and b to compare. If a should be before b, the function must return a value less than zero; if b should be before a, the function must return a value greater than zero; otherwise, the relative order of a and b are not specified. See `array.sort` for more.

Returns: this


sum

sum(value: function): this

Inherited from HierarchyNode.sum

Defined in /docs/node_modules/@types/d3-hierarchy/index.d.ts:99

Parameters:

Name Type Description
value function The value function is passed the node’s data, and must return a non-negative number.

Returns: this