Skip to content

@eightkk/vue-weave / core / GraphInterchangeInput

Interface: GraphInterchangeInput ​

Defined in: src/core/interchangeGraph.ts:17

A NetworkGraph diagram for the graph writers (toMermaid, toGraphMl, toDrawio): the nodes, edges and groups props, plus saved positions (top-left corners) and sizes where the format can hold them. Every GraphInterchangeImport is one, so a read diagram can be written again.

Properties ​

edges ​

edges: readonly GraphEdge<unknown>[]

Defined in: src/core/interchangeGraph.ts:19


groups? ​

optional groups?: readonly NetworkGroup[]

Defined in: src/core/interchangeGraph.ts:20


nodes ​

nodes: readonly NetworkNode<unknown>[]

Defined in: src/core/interchangeGraph.ts:18


positions? ​

optional positions?: ReadonlyMap<string, GraphPoint>

Defined in: src/core/interchangeGraph.ts:21


sizes? ​

optional sizes?: ReadonlyMap<string, GraphNodeSize>

Defined in: src/core/interchangeGraph.ts:22

Released under the MIT License.