Foblex Flow
Introduction
Overview
Nodes
Custom Nodes
Drag Handle
Node Selection
Resize Handle
Rotate Handle
Grouping
Drag to Group
Connectors
Node as Connector
Connector Inside Node
Connector Outlet
Limiting Connections
Connection Rules
Connectable Side
Updated
Connections
Drag to Connect
Drag to Reassign
Create Node on Connection Drop
Remove Connection on Drop
Assign Node to Connection on Drop
Auto Snap
Connection Types (Straight, Segment, Bezier, Adaptive Curve)
Custom Connection Type
Connection Behaviours
Connection Markers
Connection Content
New
Connection Waypoints
New
Connection Gradients
Updated
Connection Connectable Side
New
Extensions
Add Node from Palette
Selection Area
Help in Positioning (Legacy)
Deprecated
Magnetic Lines
New
Magnetic Rects
New
Grid System
Minimap
Zoom
Updated
Background
Updated
Advanced
Large Scene Performance
Updated
Connection Redraw Performance
Updated
Cut/Copy/Paste
New
Undo/Redo
Undo/Redo V2
New
Dagre Layout (Directed Graph)
ELKJS Layout (Directed Graph)
Drag Start/End Events
Custom Event Triggers
Reference Apps
AI Low-Code Platform
New
DB Management
UML Diagram
Tournament Bracket
Foblex Flow

Drag to Reassign

Description

This example demonstrates how to reassign existing connections between connectors using drag-and-drop interactions. Reassignment is one of the key differences between a simple diagram and a usable editor: users can change a flow without deleting and rebuilding every edge by hand.

It is especially useful in workflow builders, AI pipeline editors, and logic tools where users iterate on graph structure constantly.

It also makes experimentation faster because users can explore alternatives without breaking the entire graph editing flow. That matters most in tools where connections change often during real user work.

Example

[component.html] <<< https://raw.githubusercontent.com/Foblex/f-flow/main/projects/f-examples/connections/drag-to-reassign/drag-to-reassign.component.html [component.ts] <<< https://raw.githubusercontent.com/Foblex/f-flow/main/projects/f-examples/connections/drag-to-reassign/drag-to-reassign.component.ts [component.scss] <<< https://raw.githubusercontent.com/Foblex/f-flow/main/projects/f-examples/connections/drag-to-reassign/drag-to-reassign.component.scss [common.scss] <<< https://raw.githubusercontent.com/Foblex/f-flow/main/projects/f-examples/_flow-common.scss

What this solves

  • Lets users correct graph wiring quickly.
  • Reduces friction compared with delete-and-recreate flows.
  • Provides a better editing experience for larger or more exploratory diagrams.

For products with frequent graph editing, reassignment usually improves usability more than adding another visual polish feature.

Related docs

Edit this page on GitHub