Skip to content
sigma.js sigma.js
v4.0.6 Docs Examples GitHub 12.2K

parseNodeShape

parseNodeShape(spec): SDFShape

Defined in: packages/sigma/src/primitives/parser.ts:95

Parses a node shape specification into an SDFShape.

NodeShapeSpec

Shape specification (pre-parsed SDFShape or custom GLSL)

SDFShape

SDFShape instance