@mermaid-editor-sdk/headless / setStateBorderType
Function: setStateBorderType()
setStateBorderType(
source,id,border):string
Defined in: source/state-mutations.ts:324
Sets a state border pattern.
Parameters
| Parameter | Type | Description |
|---|---|---|
source | string | Mermaid source to inspect or update. |
id | string | Identifier of the diagram element. |
border | StateBorderType | Border pattern to apply to the state. |
Returns
string