Originally published on Medium:https://medium.com/@shuzarevich/foblex-flow-17-8-custom-content-on-connections-and-smarter-validation-in-angular-4a9bc7129d86
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:
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:
During a drag operation:
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:
They are replaced by the new fConnectionContent directive. Migration is simple — see the changelog.
📚 Other Improvements
💡 Why This Matters
These features move Foblex Flow closer to the UX of professional diagramming tools:
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.