Skip to content

Interface: ModelGraphHandle ​

Defined in: ml/model-chart.ts:115

Properties ​

edges ​

ts
edges: PatchesLayer;

Defined in: ml/model-chart.ts:121

Layer holding the connectors (drawn beneath the boxes).


layout ​

ts
layout: ModelLayoutResult;

Defined in: ml/model-chart.ts:117

The computed layout — box centers, sizes, ranks and routed edge paths.


nodes ​

ts
nodes: PatchesLayer;

Defined in: ml/model-chart.ts:119

Layer holding the layer boxes.

Methods ​

destroy() ​

ts
destroy(): void;

Defined in: ml/model-chart.ts:125

Remove the labels and tooltip this builder added (layers are yours to remove).

Returns ​

void


nodeAt() ​

ts
nodeAt(x, y): ModelNodeBox | null;

Defined in: ml/model-chart.ts:123

The box containing a data-space point, or null.

Parameters ​

ParameterType
xnumber
ynumber

Returns ​

ModelNodeBox | null

MIT licensed. WebGL2 required.