Skip to content

SyncfusionExamples/how-to-group-nodes-and-connectors-in-the-react-diagram

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to Group Nodes and Connectors in the React Diagram

A quick-start React app that shows how to group nodes and connectors in the Syncfusion® React Diagram component. Learn how to group nodes and connectors, programmatically and dynamically. Also learn how to update a node group and add annotations. Finally, it shows how to create a nested group.

The React Diagram is a feature-rich component for visualizing, creating, and editing interactive diagrams. It supports creating flowcharts, organizational charts, mind maps, and BPMN charts through code or a visual interface. Grouping is used to cluster multiple nodes and connectors into a single element. A group acts like a container for its children.

Documentation: https://ej2.syncfusion.com/react/documentation/diagram/automatic-layout#mind-map-layout

Demo: https://ej2.syncfusion.com/react/demos/#/fluent2/diagram/grouping-and-ordering


Project prerequisites

Make sure that you have the compatible versions of Visual Studio Code, and NodeJS or a later version on your machine before starting to work on this project.


How to run this application

To run this application, follow these steps:

  • Step 1:
    Clone the repository.
  git clone https://github.com/SyncfusionExamples/how-to-group-nodes-and-connectors-in-the-react-diagram
  • Step 2:
    Open the application folder, install the dependencies and run the application.
  cd how-to-group-nodes-and-connectors-in-the-react-diagram
  npm install
  npm start

About

A quick-start React app that shows how to group nodes and connectors in the Syncfusion React Diagram component

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Contributors 4

  •  
  •  
  •  
  •