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