@mermaid-editor-sdk/headless / getERStyle
Function: getERStyle()
getERStyle(
source,id,property):string
Defined in: source/er-mutations.ts:660
Reads one style property assigned to an ER entity.
Parameters
| Parameter | Type | Description |
|---|---|---|
source | string | Mermaid source to inspect or update. |
id | string | Identifier of the diagram element. |
property | ERStyleProperty | Style property to read or update. |
Returns
string