move method
Move this link to a new position. This also shifts all of the Points in the route accordingly. This also moves any #labelNodes. @param {Point} newpos a new Point in document coordinates. @param {boolean=} useLocation true if you want to set the #location instead of the position. False by default.
Implementation
void move(
_i3.Point newpos, [
_i2.bool? useLocation,
]) {
_i4.callMethod(
this,
'move',
[
newpos,
useLocation ?? _i5.undefined,
],
);
}