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

analyzeStyleDeclaration

analyzeStyleDeclaration(styleDeclaration): StyleAnalysis

Defined in: packages/sigma/src/core/styles.ts:298

Analyzes a style declaration to extract pre-computed metadata: state dependency level, and position attribute names for x/y.

Parameters

styleDeclaration

Record<string, unknown> | Record<string, unknown>[] | undefined

Returns

StyleAnalysis