Skip to content

@eightkk/vue-weave / core / GraphFlowBand

Interface: GraphFlowBand ​

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

The band of one edge of a flow projection.

Properties ​

edgeId ​

edgeId: string

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

The original edge ID.


from ​

from: string

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


label ​

label: string

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

Accessible text such as Cut → Inspect: 60 pcs.


path ​

path: string

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

The centre line of the band in chart coordinates; stroke it with width.


quantity ​

quantity: number

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


reference ​

reference: boolean

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

True for an edge that closes a cycle (a rework loop) or is a self-loop. It is stacked below the forward bands of both ends, routed back through a lane beside the ranks, drawn dashed by the renderers, and counted in referenceInflow and referenceOutflow instead of inflow, outflow and value.


selfLoop ​

selfLoop: boolean

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


sourceOffset ​

sourceOffset: number

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

Where the band starts along its source side, from the top end (left, right) or left end (top, bottom) of that side; it covers [sourceOffset, sourceOffset + thickness].


sourceSide ​

sourceSide: "left" | "right" | "top" | "bottom"

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

The source box side the band leaves through: the downstream side (right for LR, left for RL, bottom for TB, top for BT).


targetOffset ​

targetOffset: number

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

Where the band starts along its target side, measured like sourceOffset.


targetSide ​

targetSide: "left" | "right" | "top" | "bottom"

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

The target box side the band enters through: the upstream side.


thickness ​

thickness: number

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

quantity × scale, exactly.


to ​

to: string

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


unit ​

unit: string

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


width ​

width: number

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

The drawn stroke width: thickness, at least minBandWidth.

Released under the MIT License.