Selector: [fResizeHandle]
Class: FResizeHandleDirective
FResizeHandleDirective marks an element as a resize handle for a fNode or fGroup.
It works only when fDraggable is enabled on the parent f-flow.
Resize handles let users change node/group size directly on the canvas - similar to design tools.
Attach fResizeHandle to an element inside a node (or group) and specify the handle type.
Tip: In real UIs you usually render 8 handles (corners + sides) for the best UX.
fResizeHandle on the hit element.fResizeHandleType defines the resize direction (left/right/top/bottom and corners).fNodeSizeChange from fNodefGroupSizeChange from fGroupThis keeps your data model as the source of truth while interactions stay responsive.
The optional Managed Flow State plugin synchronizes the final fNodeSizeChange or fGroupSizeChange into its records, including user resize. That geometry amendment does not create a standalone undo step; keep this final-output persistence step only when your application owns the records itself or needs additional domain-side handling.
fResizeHandleType: EFResizeHandleType; Required. Defines which side/corner the handle represents.The directive adds the base class .f-resize-handle and a type-specific class you can target:
.f-resize-handle.f-resize-handle-left.f-resize-handle-left-top.f-resize-handle-top.f-resize-handle-right-top.f-resize-handle-right.f-resize-handle-right-bottom.f-resize-handle-bottom.f-resize-handle-left-bottomMinimal example styles:
fDraggable enabled on f-flow.[example.html] <<< https://raw.githubusercontent.com/Foblex/f-flow/main/libs/f-examples/nodes/resize-handle/example.html [example.ts] <<< https://raw.githubusercontent.com/Foblex/f-flow/main/libs/f-examples/nodes/resize-handle/example.ts [example.scss] <<< https://raw.githubusercontent.com/Foblex/f-flow/main/libs/f-examples/nodes/resize-handle/example.scss