This guide shows how to create custom nodes for flow components with different content, styles, and behaviors. You can render any Angular UI inside a node: forms, buttons, metrics, menus, or domain-specific panels.
In practice, custom nodes are one of the biggest reasons teams adopt Foblex Flow instead of a generic diagram widget. Your node can look like a real product component while still participating in drag, selection, and connection logic.
[example.html] <<< https://raw.githubusercontent.com/Foblex/f-flow/main/libs/f-examples/nodes/custom-nodes/example.html [example.ts] <<< https://raw.githubusercontent.com/Foblex/f-flow/main/libs/f-examples/nodes/custom-nodes/example.ts [example.scss] <<< https://raw.githubusercontent.com/Foblex/f-flow/main/libs/f-examples/nodes/custom-nodes/example.scss
This example uses Angular Material components to fill the custom nodes with content.
Start from this example whenever the visual identity of a node matters as much as the graph behavior around it.