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

Background

Description

This guide demonstrates how to add a background to the canvas. To enable this feature, you need to add the f-background component inside the f-flow component. There are two default patterns: ‘rect’ and ‘circle’, but you can also create your own custom pattern (instructions are available in the f-background documentation).

Example

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