Interface: GraphData
Defined in: layers/graph.ts:25
New nodes/edges for GraphLayer.setData (colors/size stay fixed).
Properties
edges
ts
edges: readonly readonly [number, number][];Defined in: layers/graph.ts:29
nodeCount?
ts
optional nodeCount?: number;Defined in: layers/graph.ts:31
Node count for the force layout when x/y are omitted. Defaults to max edge index + 1.
x?
ts
optional x?: ArrayLike<number>;Defined in: layers/graph.ts:27
Node positions. Omit both to run a force layout from edges.
y?
ts
optional y?: ArrayLike<number>;Defined in: layers/graph.ts:28