Selector: f-magnetic-lines
Class: FMagneticLines
FMagneticLines displays guide lines while dragging nodes to help visual alignment.
Use f-magnetic-lines when precise alignment matters but you do not want a full grid snap workflow.
Typical use cases:
f-line-alignment with the current API.The plugin registers in the drag subsystem, computes candidate guide axes against nearby nodes, and renders temporary guide elements during node drag.
threshold: number; Default: 10. Distance in pixels within which nodes will snap to the alignment lines..f-component Base class for flow primitives..f-magnetic-lines Host class..f-line Rendered helper line element class.fDraggable) to be useful.[example.html] <<< https://raw.githubusercontent.com/Foblex/f-flow/main/libs/f-examples/extensions/magnetic-lines/example.html [example.ts] <<< https://raw.githubusercontent.com/Foblex/f-flow/main/libs/f-examples/extensions/magnetic-lines/example.ts [example.scss] <<< https://raw.githubusercontent.com/Foblex/f-flow/main/libs/f-examples/extensions/magnetic-lines/example.scss