Interface: RenameLinkProvider
Defined in: diagram/customization.ts:238
Provides a strategy to rename diagram links (change labels).
Methods
canRename()
canRename(
link
):boolean
Defined in: diagram/customization.ts:242
Returns true
if the target link has editable label.
Parameters
Parameter | Type |
---|---|
|
Returns
boolean
getLabel()
getLabel(
link
):undefined
|string
Defined in: diagram/customization.ts:247
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:251
Sets changed label for the link.
Parameters
Parameter | Type |
---|---|
| |
|
|
Returns
void