NgDiagramNodeResizeAdornmentComponent
since v0.8.0The NgDiagramNodeResizeAdornmentComponent displays resize handles and lines around a selected, resizable node.
Example usage
Section titled “Example usage”<ng-diagram-node-resize-adornment> <!-- Node content here --></ng-diagram-node-resize-adornment>Extends
Section titled “Extends”NodeContextGuardBase
Properties
Section titled “Properties”activeSides
Section titled “activeSides”activeSides:
InputSignal<readonlySide[]>
Which sides of the node can be grabbed to resize it.
All four lines always render, since they double as the node’s selection frame, but the ones
for sides left out here are inert: they do not start a resize and show no resize cursor.
A corner handle renders only when both of its sides are listed, so
['right', 'bottom'] leaves only the bottom-right handle.
Pass an empty array to keep the selection frame without allowing any interactive resize.
Default
Section titled “Default”['top', 'right', 'bottom', 'left']1.3.0
Example
Section titled “Example”<ng-diagram-node-resize-adornment [activeSides]="['right', 'bottom']"> <!-- Node content here --></ng-diagram-node-resize-adornment>defaultResizable
Section titled “defaultResizable”defaultResizable:
InputSignal<undefined|boolean>
Whether the node is resizable.
Default
Section titled “Default”undefined