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