Skip to content

Intermact API Reference / @intermact/core / graphObject

Function: graphObject()

graphObject(spec): IMObject2D

Defined in: packages/core/src/pcg/graph.ts:166

Build a graph object with laid-out nodes (disks) and edges (lines).

Parameters

spec

GraphSpec

Returns

IMObject2D

Intermact v1.0 — 文档覆盖 Phase-1 / Phase-2 / Phase-3(全阶段)