本文へ移動

@eightkk/vue-weave / core / GraphExpansionView

Interface: GraphExpansionView<N, E> ​

Defined in: src/core/graphExpansion.ts:42

What to pass to NetworkGraph, and what to keep aside.

Type Parameters ​

N ​

N extends object = { id: string; }

E ​

E extends GraphEdge = GraphEdge

Properties ​

dangling ​

dangling: DanglingLink<E>[]

Defined in: src/core/graphExpansion.ts:48

Edges with an end that is not loaded yet; they move to edges once that node arrives.


edges ​

edges: E[]

Defined in: src/core/graphExpansion.ts:46

Edges whose both ends are loaded: safe for NetworkGraph edges.


frontierIds ​

frontierIds: string[]

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

Loaded nodes that are neither expanded nor being expanded, in load order. With a key, nodes expanded or being expanded entirely or for that key are left out.


nodes ​

nodes: N[]

Defined in: src/core/graphExpansion.ts:44

Every loaded node.

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