Selector: [fRotateHandle]
Class: FRotateHandleDirective
FRotateHandleDirective marks an element as a rotation handle for a node or a group.
When the user drags this handle, the library performs a rotate interaction and commits the final angle through node/group outputs.
This directive is usually used together with:
Place any element with fRotateHandle inside your node template. Often it’s a small “knob” in a corner.
Tip: Make the rotate handle visually different from the drag handle (cursor, icon, placement) so users don’t accidentally move instead of rotate.
fRotateHandle.fNodeRotateChange (for nodes)fGroupRotateChange (for groups)This matches the overall model of Foblex Flow: the library handles interactive rendering, and your app owns the persisted diagram state.
.f-component Base class for flow primitives..f-rotate-handle Class added to the host element by the directive.Common patterns:
cursor: grab / cursor: crosshair for the rotate handle.fDraggable on the parent f-flow; without it, the handle is inert.fDragHandle and fRotateHandle in a small area, hit-testing can feel inconsistent - increase handle size or spacing.fNodeRotateChange).[component.html] <<< https://raw.githubusercontent.com/Foblex/f-flow/main/projects/f-examples/nodes/rotate-handle/rotate-handle.component.html [component.ts] <<< https://raw.githubusercontent.com/Foblex/f-flow/main/projects/f-examples/nodes/rotate-handle/rotate-handle.component.ts [component.scss] <<< https://raw.githubusercontent.com/Foblex/f-flow/main/projects/f-examples/nodes/rotate-handle/rotate-handle.component.scss [common.scss] <<< https://raw.githubusercontent.com/Foblex/f-flow/main/projects/f-examples/_flow-common.scss