本文へ移動

@eightkk/vue-weave / core / GraphLayout

Interface: GraphLayout ​

Defined in: src/core/graph.ts:202

Extended by ​

Properties ​

boxes ​

boxes: Map<string, GraphBox>

Defined in: src/core/graph.ts:203


edgeLabels ​

edgeLabels: Map<string, { x: number; y: number; }>

Defined in: src/core/graph.ts:205


height ​

height: number

Defined in: src/core/graph.ts:207


paths ​

paths: Map<string, string>

Defined in: src/core/graph.ts:204


routes? ​

optional routes?: 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.


width ​

width: number

Defined in: src/core/graph.ts:206

MIT ライセンスで公開しています。