@mermaid-editor-sdk/headless / deleteClassNode
Function: deleteClassNode()
deleteClassNode(
source,id):string
Defined in: source/class-mutations.ts:264
Deletes a class declaration and related statements.
Parameters
| Parameter | Type | Description |
|---|---|---|
source | string | Mermaid source to inspect or update. |
id | string | Identifier of the diagram element. |
Returns
string