Skip to content
This is the alpha v4 version website. Looking for the v3 documentation?

parseEdgeExtremity

parseEdgeExtremity(spec): EdgeExtremity | null

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

Parses an edge extremity specification into an EdgeExtremity.

Parameters

spec

EdgeExtremitySpec

Extremity specification (pre-parsed EdgeExtremity or custom GLSL)

Returns

EdgeExtremity | null

EdgeExtremity instance or null