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
Custom Connections
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

Create Node on Connection Drop

Description

This example shows how to create a node when a dragged connection is dropped into empty space. Instead of failing the gesture or forcing the user to open a separate add-node flow first, the editor can turn that unfinished connection into a new step.

This interaction is a strong fit for workflow builders, AI orchestration tools, and internal low-code products because it keeps graph editing fast and sequential. Users can think in terms of "connect to the next step" and create that step only when they need it.

It is one of the patterns that makes a node editor feel product-like rather than demo-like.

Example

[component.html] <<< https://raw.githubusercontent.com/Foblex/f-flow/main/projects/f-examples/connections/create-node-on-connection-drop/create-node-on-connection-drop.component.html [component.ts] <<< https://raw.githubusercontent.com/Foblex/f-flow/main/projects/f-examples/connections/create-node-on-connection-drop/create-node-on-connection-drop.component.ts [component.scss] <<< https://raw.githubusercontent.com/Foblex/f-flow/main/projects/f-examples/connections/create-node-on-connection-drop/create-node-on-connection-drop.component.scss [common.scss] <<< https://raw.githubusercontent.com/Foblex/f-flow/main/projects/f-examples/_flow-common.scss

When to use it

  • Create follow-up steps during connection creation.
  • Reduce friction in palette-heavy or menu-heavy editors.
  • Speed up exploratory graph building for new users.

This example focuses on drop handling, node creation, and keeping the edge creation flow intuitive.

Related docs

Edit this page on GitHub