Interface: RenameLinkProvider
Defined in: src/diagram/customization.ts:277
Provides a strategy to rename diagram links (change labels).
Methods
canRename()
canRename(
link):boolean
Defined in: src/diagram/customization.ts:281
Returns true if the target link has editable label.
Parameters
| Parameter | Type |
|---|---|
|
Returns
boolean
getLabel()
getLabel(
link):undefined|string
Defined in: src/diagram/customization.ts:286
Gets changed label for the link if renamed,
otherwise undefined.
Parameters
| Parameter | Type |
|---|---|
|
Returns
undefined | string
setLabel()
setLabel(
link,label):void
Defined in: src/diagram/customization.ts:290
Sets changed label for the link.
Parameters
| Parameter | Type |
|---|---|
| |
|
|
Returns
void