@mermaid-editor-sdk/headless / getStateAppearance
Function: getStateAppearance()
getStateAppearance(
source,id):StateAppearance
Defined in: source/state-mutations.ts:253
Reads the combined appearance of a state.
Parameters
| Parameter | Type | Description |
|---|---|---|
source | string | Mermaid source to inspect or update. |
id | string | Identifier of the diagram element. |