@mermaid-editor-sdk/headless / getStateStyle
Function: getStateStyle()
getStateStyle(
source,id,property):string
Defined in: source/state-mutations.ts:264
Reads one style property assigned to a state.
Parameters
| Parameter | Type | Description |
|---|---|---|
source | string | Mermaid source to inspect or update. |
id | string | Identifier of the diagram element. |
property | StateStyleProperty | Style property to read or update. |
Returns
string