Foblex Flow
Introduction
Overview
Nodes
Custom Nodes
Drag Handle
Node Selection
Resize Handle
Grouping
Drag to Group
New
Stress Test
New
Stress Test with Connections
New
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
Assign Node to Connection on Drop
New
Auto Snap
Connection Types
Custom Connection Type
Connection Behaviours
Connection Markers
Custom Connections
Layouts
Dagre Layout
ELKJS Layout
Extensions
Selection Area
Help in Positioning
Grid System
New
Minimap
Zoom
Background
Pro Examples
Visual Programming
DB Management
UML Diagram
Tournament Bracket
New
Foblex Flow
DocsExamples

ELKJS Tree

Description

Example of a tree layout using the elkjs with Foblex Flow and Angular to create simple tree layouts. The elkjs library provides a set of layout algorithms that can be used to create complex layouts for diagrams and graphs.

Example

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