English
@eightkk/vue-weave / core / GraphInterchangeImport
Interface: GraphInterchangeImport
Defined in: src/core/interchangeGraph.ts:55
The result of fromMermaid, fromGraphMl, fromDrawio and fromDrawioAsync: the props of NetworkGraph. It is a GraphInterchangeInput, so the writers accept it.
Properties
direction?
optionaldirection?:GraphLayoutDirection
Defined in: src/core/interchangeGraph.ts:65
The flow direction of a Mermaid flowchart (TD is read as TB). Not set by the other readers.
edges
edges:
GraphEdge<unknown>[]
Defined in: src/core/interchangeGraph.ts:57
groups
groups:
NetworkGroup[]
Defined in: src/core/interchangeGraph.ts:59
Nested groups, parents before their children. Only groups with at least one node (directly or nested).
nodes
nodes:
NetworkNode<unknown>[]
Defined in: src/core/interchangeGraph.ts:56
positions
positions:
Map<string,GraphPoint>
Defined in: src/core/interchangeGraph.ts:61
Top-left corners of the nodes the file places; empty for Mermaid. Nonnegative (see shifted-positions).
sizes
sizes:
Map<string,GraphNodeSize>
Defined in: src/core/interchangeGraph.ts:63
Sizes of the nodes the file gives one; empty for Mermaid.
warnings
warnings:
GraphInterchangeWarning[]
Defined in: src/core/interchangeGraph.ts:66