Skip to content

@eightkk/vue-weave / core / GraphIncrementalLayout

Interface: GraphIncrementalLayout ​

Defined in: src/core/graphIncremental.ts:49

The result of layoutGraphIncrementally: a complete layout, plus what happened to which node.

Extends ​

Properties ​

boxes ​

boxes: Map<string, GraphBox>

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

Inherited from ​

GraphLayout.boxes


edgeLabels ​

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

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

Inherited from ​

GraphLayout.edgeLabels


fallbackIds ​

fallbackIds: string[]

Defined in: src/core/graphIncremental.ts:55

New nodes placed beside their neighbour, across the flow, because their flow side would leave the nonnegative area.


height ​

height: number

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

Inherited from ​

GraphLayout.height


movedIds ​

movedIds: string[]

Defined in: src/core/graphIncremental.ts:53

Positioned nodes that the relaxed mode pushed aside, in input order. Empty unless maxDisplacement is positive.


paths ​

paths: Map<string, string>

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

Inherited from ​

GraphLayout.paths


placedIds ​

placedIds: string[]

Defined in: src/core/graphIncremental.ts:51

New nodes (without a position), in the order they were placed.


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.

Inherited from ​

GraphLayout.routes


width ​

width: number

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

Inherited from ​

GraphLayout.width

Released under the MIT License.