Verified on: 2026-07-28.
Swimlane ngx-graph is an Angular graph visualization library. Its repository is active and has a 21.0.0-alpha.1 tag, so this page does not present Foblex Flow as a replacement for an abandoned project. It is a migration guide for a different requirement: moving from visualization-first graphs to a user-editable node editor.
nodes and links with automatic layouts. Its primary model is visualization: arrange graph data and expose view interactions.If all you need is an automatically laid-out visualization, ngx-graph may remain the more direct fit. Consider migration when users must change the graph or when HTML-based Angular node content and editor interactions become core product requirements.
The models are close enough that migration is mechanical for most apps:
nodes / links arrays stay your source of truth — Foblex Flow never owns your data. Render them with @for instead of passing them to a component input.node template (ng-template #nodeTemplate) becomes a plain element with fNode and [fNodePosition] — with your full Angular component inside, not an SVG fragment. HTML instead of SVG is the biggest quality-of-life change: real inputs, buttons, pipes and directives inside nodes.link becomes <f-connection fSourceId fTargetId> with built-in path types (straight, segment, bezier), markers and labels.dagre in ngx-graph) maps to @foblex/flow-dagre-layout or @foblex/flow-elk-layout — run it on init or on demand, then keep user-made positions.(select)-style events map to fSelectionChange; panning/zooming to f-canvas + fZoom.What has no ngx-graph equivalent — and therefore needs no migration — is everything editors need: connection creation by drag/click/keyboard, groups, resize handles, alignment guides, virtualization for large scenes, and an accessibility layer.
Start with Get Started, see automatic arrangement in the Dagre layout example, and browse the examples gallery for the interactions ngx-graph never had.
Primary source checked: swimlane/ngx-graph on GitHub.