Skip to content

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