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.
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.[component.html] <<< https://raw.githubusercontent.com/Foblex/f-flow/main/projects/f-examples/nodes/resize-handle/resize-handle.component.html [component.ts] <<< https://raw.githubusercontent.com/Foblex/f-flow/main/projects/f-examples/nodes/resize-handle/resize-handle.component.ts [component.scss] <<< https://raw.githubusercontent.com/Foblex/f-flow/main/projects/f-examples/nodes/resize-handle/resize-handle.component.scss [common.scss] <<< https://raw.githubusercontent.com/Foblex/f-flow/main/projects/f-examples/_flow-common.scss