isEdgeEndRelinkable
since v1.4.0isEdgeEndRelinkable(
edge,end,defaultRelinkable):boolean
Returns whether the user can relink the given end of an edge. It uses the
edge’s own relinkable value when set, otherwise defaultRelinkable from
the linking config. true allows both ends, 'source' or 'target' allows
only that end, and any other value allows neither.
Parameters
Section titled “Parameters”The edge to check.
The endpoint to check.
defaultRelinkable
Section titled “defaultRelinkable”The linking.defaultRelinkable config value.
boolean | EdgeEnd
Returns
Section titled “Returns”boolean
true when the user can relink that end.