Build your first interactive diagram in Angular: install Foblex Flow, render two draggable nodes, and connect them with a live connection.
This guide is the shortest path from installation to a working flow. You will:
f-flow + f-canvas),f-connection,Start here if you are:
A minimal interactive flow consists of:
f-flow — the root container.fDraggable — enables interaction (drag, pointer handling, editor UX pipeline).f-canvas — the layer where nodes and connections are rendered.fNode and explicit positions via fNodePosition.fNodeOutput / fNodeInput) + f-connection that joins matching fOutputId and fInputId.Foblex Flow is intentionally UI-agnostic: it does not enforce a design system.
Use this as a practical baseline, then adapt it to your app styles.
f-flow — root container that provides flow context.f-canvas — viewport/rendering layer for nodes and connections.fNode — directive that turns an element into a node.fNodeOutput / fNodeInput — connectors that represent connection endpoints.f-connection — renders a connection between matching fOutputId and fInputId.After you get the minimal template working, try:
[fNodePosition],fOutputConnectableSide, fInputConnectableSide),fType and fBehavior,f-canvas. Elements outside it will not participate in transform and interaction.fOutputId and fInputId must match connector ids exactly — otherwise the connection will not render.For custom connection types, see the Examples section: /examples/custom-connection-type.
Continue with the API references:
If this page helped you build something (or saved you from writing drag+drop and SVG connection logic from scratch), please ⭐ the repo on GitHub — it directly helps the project grow.