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