Interface: NodeLayout
Defined in: src/mobjects/graph/sankeyLayout.ts:50
Computed geometry for one node, in horizontal (flow along +x) space.
Properties
id
id:
string
Defined in: src/mobjects/graph/sankeyLayout.ts:51
layer
layer:
number
Defined in: src/mobjects/graph/sankeyLayout.ts:52
length
length:
number
Defined in: src/mobjects/graph/sankeyLayout.ts:60
Node length along the stacking axis (yTop - yBottom).
throughput
throughput:
number
Defined in: src/mobjects/graph/sankeyLayout.ts:62
max(incoming total, outgoing total).
x
x:
number
Defined in: src/mobjects/graph/sankeyLayout.ts:54
Center x of the node.
yBottom
yBottom:
number
Defined in: src/mobjects/graph/sankeyLayout.ts:58
Bottom edge y (the smaller y value).
yTop
yTop:
number
Defined in: src/mobjects/graph/sankeyLayout.ts:56
Top edge y (the larger y value).