本文へ移動

@eightkk/vue-weave / core / GraphCloneResult

Interface: GraphCloneResult<N, E> ​

Defined in: src/core/graphEditing.ts:66

The copies made by cloneGraphElements, and the IDs of the copies keyed by the source IDs.

Type Parameters ​

N ​

N extends IdentifiedNode = IdentifiedNode

E ​

E extends GraphEdge = GraphEdge

Properties ​

edges ​

edges: E[]

Defined in: src/core/graphEditing.ts:68


idMap ​

idMap: object

Defined in: src/core/graphEditing.ts:71

edges ​

edges: Map<string, string>

nodes ​

nodes: Map<string, string>


nodes ​

nodes: N[]

Defined in: src/core/graphEditing.ts:67


positions ​

positions: Map<string, GraphPoint>

Defined in: src/core/graphEditing.ts:70

Positions of the copied nodes, keyed by the new node IDs.

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