Skip to content

@eightkk/vue-weave / core / GraphFlowNode

Interface: GraphFlowNode ​

Defined in: src/core/graphFlow.ts:57

One node of a flow projection. All totals are in the projection's unit.

Properties ​

box ​

box: GraphBox

Defined in: src/core/graphFlow.ts:61

The node box in chart coordinates; rank counts ranks along the flow.


difference ​

difference: number

Defined in: src/core/graphFlow.ts:70

outflow - inflow, as given: negative where less leaves than arrives (scrap, stock, rounding — the caller decides).


id ​

id: string

Defined in: src/core/graphFlow.ts:59

The original node ID.


inflow ​

inflow: number

Defined in: src/core/graphFlow.ts:66

Sum of the forward bands that end here.


order ​

order: number

Defined in: src/core/graphFlow.ts:64

Position of the node within its rank, from the top (LR, RL) or the left (TB, BT).


outflow ​

outflow: number

Defined in: src/core/graphFlow.ts:68

Sum of the forward bands that start here.


rank ​

rank: number

Defined in: src/core/graphFlow.ts:62


referenceInflow ​

referenceInflow: number

Defined in: src/core/graphFlow.ts:78

Sum of the reference (loop) bands that end here. Not part of inflow or value.


referenceOutflow ​

referenceOutflow: number

Defined in: src/core/graphFlow.ts:80

Sum of the reference (loop) bands that start here. Not part of outflow or value.


value ​

value: number

Defined in: src/core/graphFlow.ts:76

max(inflow, outflow). The cross-flow size of the box is max(inflow + referenceInflow, outflow + referenceOutflow) × scale (at least minNodeSize), so it equals value × scale for a node without reference bands and also holds the reference stacks of one that has them.

Released under the MIT License.