Skip to content

Practical Scenarios & Demo Gallery

`YH-UI Flow` is essentially more than just a "connection line library." Its underlying highly flexible renderless design and high-performance virtual viewport computation make it easily customizable into almost any type of graph visualization application.

Here are a few use cases tailored for real business scenarios:

1. Entity Relationship (ER) Diagrams

ER diagrams are often used for database table structure design or analyzing complex model dependencies. Using Flow's adaptive width/height, table-based HTML support, and dynamic anchors across nodes, we can quickly build industrial-grade ER structure viewers.

1 : 1
UsersCore
🔑id
uuid
username
varchar(50)
email
varchar(100)
created_at
timestamp
OrdersTransaction
🔑id
uuid
user_id
uuid
total_amount
decimal
status
varchar(20)
User ProfilesDetails
🔑id
uuid
user_id
uuid
avatar_url
varchar(255)
Data Schema & ER Chart

TIP

The `erNode` has built-in Vue JSX logic. Leveraging custom node logic, you can easily nest custom scrollbars, checkboxes, input tags, inside any table!

2. Organization Chart (Org Tree)

By using `Dagre` auto-layout module combined with Orthogonal `step` edges, we can effortlessly piece together traditional hierarchal structure models.

👔
Alex JohnsonCEO
💻
Sarah ChenCTO
📈
Michael RossCMO
Dev Team AFrontend
⚙️
Dev Team BBackend
Tree View Org Chart

3. System Architecture Topology

Using custom icons with color-coding schemes effortlessly builds out robust architecture topology matching industry standards.

💻
Client
⚙️
API
🗄️
SQL
📨
MQ
☁️
Cloud
System Architecture Diagram

4. Horizontal Timeline Sequence

By stripping off the canvas background and replacing nodes with geometric diamonds or circles, the Flow turns into an elegant milestone timeline.

Start Point
UI Design
Development
QA Test
Launch
Horizontal Timeline

5. Expandable JSON Data Tree

Achieve classical mind maps or hierarchical trees! Tapping into the internal `hidden` property lets you seamlessly toggle nested deep-layered structures.

[ ]fathers-
{ }0-
Aaid1024
Aaname"Eric"
[ ]daughters+
Expandable Tree Component

Released under the MIT License.