Foblex Flow
Introduction
Overview
Nodes
Custom Nodes Drag Handle Node Selection Resize Handle Grouping
Connectors
Node as Connector Connector Inside Node Connector Outlet Limiting Connections Connectable Side
Connections
Drag to Connect Drag to Reassign Create Node on Connection Drop Remove Connection on Drop Auto Snap Connection Types Custom Connection Type Connection Behaviours Connection Markers Custom Connections
Layouts
Dagre Layout ELKJS Layout
Extensions
Selection Area Help in Positioning Minimap Zoom Background
Pro Examples
Visual Programming DB Management UML Diagram
Foblex Flow
DocsExamples

Custom Nodes

Description

This guide shows how to create custom nodes for flow components with different content, styles, and behaviors, providing a comprehensive approach to building interactive flow-based diagrams. You can use this guide to create custom nodes with any HTML content, styles, and behaviors.

Example

[component.html] <<< https://raw.githubusercontent.com/Foblex/f-flow/main/projects/f-examples/nodes/custom-nodes/custom-nodes.component.html [component.ts] <<< https://raw.githubusercontent.com/Foblex/f-flow/main/projects/f-examples/nodes/custom-nodes/custom-nodes.component.ts [component.scss] <<< https://raw.githubusercontent.com/Foblex/f-flow/main/projects/f-examples/nodes/custom-nodes/custom-nodes.component.scss [common.scss] <<< https://raw.githubusercontent.com/Foblex/f-flow/main/projects/f-examples/_flow-common.scss

This example uses Angular Material components to fill the custom nodes with content.