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 does not capture user resize in v1, so this final-output persistence step still applies when managed state is enabled.
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