Selector: f-connection-for-create
Class: FConnectionForCreateComponent
FConnectionForCreateComponent is the temporary preview link used while the user drags to create a connection.
Use f-connection-for-create in interactive editors where users draw connections by dragging from outputs/outlets.
Typical use cases:
Do not persist business state from this component directly; use fCreateConnection output from fDraggable to create real f-connection entries.
The component is registered as a special connection instance and controlled by drag logic. During a drag session, internal fOutputId/fInputId signals update from pointer context; after finalize, the preview is hidden again.
fRadius: number; Default: 8. Connection corner radius.fOffset: number; Default: 12. Distance from connector to first bend.fBehavior: EFConnectionBehavior; Default: FIXED. Defines how the connection handles connector positions.fType: EFConnectionType; Default: STRAIGHT. Type of the path (segment, straight, bezier).fInputSide: EFConnectionConnectableSide; Default: DEFAULT. Preferred side for target connection.fOutputSide: EFConnectionConnectableSide; Default: DEFAULT. Preferred side for source connection.fStartColor: string; Default: black. Color of the start of the gradient (if used).fEndColor: string; Default: black. Color of the end of the gradient (if used)..f-connection Base connection class..f-connection-for-create Preview host class..f-connection-path Preview path element..f-connection-drag-handle Preview endpoint handle element.fDraggable on the parent f-flow to become active.fCreateConnection handling; without state update logic, user actions will not create persisted edges.f-snap-connection for stronger UX when targets are close.[component.html] <<< https://raw.githubusercontent.com/Foblex/f-flow/main/projects/f-examples/connections/drag-to-connect/drag-to-connect.html [component.ts] <<< https://raw.githubusercontent.com/Foblex/f-flow/main/projects/f-examples/connections/drag-to-connect/drag-to-connect.ts [component.scss] <<< https://raw.githubusercontent.com/Foblex/f-flow/main/projects/f-examples/connections/drag-to-connect/drag-to-connect.scss [common.scss] <<< https://raw.githubusercontent.com/Foblex/f-flow/main/projects/f-examples/_flow-common.scss