English
@eightkk/vue-weave / core / GraphFlowLayout
Interface: GraphFlowLayout
Defined in: src/core/graphFlow.ts:129
The result of layoutFlowGraph. It is a GraphLayout (boxes for every node, a path for every band, no edge label anchors), so it can be the NetworkGraph layout and the layout of renderGraphSvg, for the edges that have a band.
Extends
Properties
bands
bands:
GraphFlowBand[]
Defined in: src/core/graphFlow.ts:138
One band per edge in the displayed unit, in input order.
boxes
boxes:
Map<string,GraphBox>
Defined in: src/core/graph.ts:203
Inherited from
direction
direction:
GraphLayoutDirection
Defined in: src/core/graphFlow.ts:134
edgeLabels
edgeLabels:
Map<string, {x:number;y:number; }>
Defined in: src/core/graph.ts:205
Inherited from
excluded
excluded:
GraphFlowExcludedEdge[]
Defined in: src/core/graphFlow.ts:140
Edges in another unit, in input order.
height
height:
number
Defined in: src/core/graph.ts:207
Inherited from
nodes
nodes:
GraphFlowNode[]
Defined in: src/core/graphFlow.ts:136
One entry per node, in input order.
paths
paths:
Map<string,string>
Defined in: src/core/graph.ts:204
Inherited from
routes?
optionalroutes?:Map<string,GraphLayoutRoute>
Defined in: src/core/graph.ts:213
Optional route metadata by edge ID. The built-in layouts do not set it. When a layout has it, applyGraphPositions, applyGraphSizes, routeGraphPorts and routeGraphEdges carry it into their results: entries of edges that a moved or resized node rerouted are removed, and entries of edges that the port or style routing redrew are replaced.
Inherited from
scale
scale:
number
Defined in: src/core/graphFlow.ts:133
Pixels per unit, the same across the whole picture.
unit
unit:
string
Defined in: src/core/graphFlow.ts:131
The displayed unit.
width
width:
number
Defined in: src/core/graph.ts:206