Foblex Flow
Blog
Overview
Releases
v18.1.0
v18.0.0
v17.8.5
v17.8.0
v17.7.0
Inside Foblex Flow
Part 1: Library Architecture and Design Principles
Part 2: Drag-and-Drop Architecture in Angular Without CDK
Building AI Low-Code Platform
Part 1: Introduction to Foblex Flow
Part 2: Creating Your First Flow
Part 3: Creating Custom Nodes and a Node Palette
Part 4: Styling and Handling Connections
Call Flow Editor
Angular 20 Update
Initial Tutorial
Foblex Flow

Foblex Flow 17.8 — Custom Content on Connections and Smarter Validation in Angular

Node-based editors are becoming the backbone of AI pipelines, workflow builders, and low-code platforms. With Foblex Flow, we bring this experience natively into Angular.

The new release, v17.8.0, introduces two major improvements:

Custom content inside connections

Smarter validation rules for allowed connections

Together, these make visual editors more flexible, user-friendly, and production-ready.

Custom Content on Connections

Connections are no longer just lines — you can now place any custom widget directly on them.

With the new fConnectionContent directive, you can:

  • Add labels, icons, or buttons at any point along a connection.
  • Control position (0..1), offset (px), and alignment relative to the path.
  • Use multiple content elements on the same connection.

Example:

This enables interaction patterns like inline buttons, directional icons, or status indicators directly on edges.

🔒 Smarter Connection Validation

Validation rules got a big upgrade.

Previously, connections could only be restricted by input ID.

Now you can also define restrictions by input category (fInputCategory).

On the output side, you specify an array fCanBeConnectedInputs, which may include both:

  • explicit IDs
  • or categories (labels like “math”, “string”, “number”).

During a drag operation:

  • Only valid inputs are highlighted with .f-connector-connectable.
  • Invalid inputs stay dimmed.
  • The container gets .f-connections-dragging for styling.

This gives instant visual feedback and allows real editors to enforce rules like “math nodes can only connect to math inputs”.

⚠️ Deprecations

Two older APIs are now deprecated:

  • fConnectionCenter directive
  • fText property

They are replaced by the new fConnectionContent directive. Migration is simple — see the changelog.

📚 Other Improvements

  • Refactored Dagre layout example with better connection handling.
  • Connector IDs migrated to Angular Signals for improved reactivity.
  • Infrastructure update: added chokidar for file watching.
  • Angular dependencies updated to latest patch versions.

💡 Why This Matters

These features move Foblex Flow closer to the UX of professional diagramming tools:

  • Content on connections makes diagrams informative and interactive.
  • Validation by category keeps flows correct and safe.
  • Deprecations streamline the API for future growth.

Foblex Flow continues to evolve into a production-ready Angular framework for low-code editors, AI builders, and workflow tools.

🔗 Links

❤️ If you find it useful, please ⭐ the repo on GitHub — it’s the best way to support the project and help it grow.

In this article