DiagramArrangementTransforms extension
Explicit geometric edits share ownership expansion and canonical transforms.
Methods
-
moveElements(
Iterable< String> elementIds, DiagramPoint delta) → EditResult -
Available on DiagramArrangementCommands, provided by the DiagramArrangementTransforms extension
Moves explicit roots and their owned contents once, without changing selection. Bound connectors retain their bindings during translation. -
rotateElements(
Iterable< String> elementIds, {required DiagramPoint pivot, required double radians}) → EditResult -
Available on DiagramArrangementCommands, provided by the DiagramArrangementTransforms extension
Applies a relative rotation around a world-space pivot to each owned element once. Selection is retained and the edit has one undo entry.