We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Syncfusion Feedback

Trusted by the world’s leading companies

Syncfusion Trusted Companies

Overview

The React Diagram is a feature-rich architecture diagram library for visualizing, creating, and editing interactive diagrams. It supports creating flowcharts, organizational charts, mind maps, and BPMN charts either through code or a visual interface.


Why choose Syncfusion Essential Studio® React Diagram?

React Diagram automatic layout.

Automatic layout

Automatically arrange nodes based on a predefined layout algorithm.

Data binding in React Diagram.

Seamless data binding

Populate diagrams with nodes and connectors created and positioned based on data from data sources. Without having to write any code, easily convert, map, and consume data in any format in the diagram by setting a few properties.

React Diagram with interactive editing.

Interactive editing

The React Diagram lets you pan and zoom, snap, undo and redo, stencil, resize, and rotate interactively.

Responsive React Diagram.

Adapts to any resolution

Diagram has a highly responsive layout and an optimized design for desktops, touchscreens, and phones. It works well on all mobile phones that use iOS, Android, or Windows OS.

React Diagram with reusable symbols.

The SymbolPalette displays a collection of palettes. A palette displays a set of nodes and connectors that you can drag and drop into the diagram.

Create your own template shapes in React Diagram.

Create your own template shapes

Visualize any graphical object using nodes that can be arranged and manipulated on a diagram page at the same time. Diagram allows you to add different kinds of nodes.

React Diagram with customizable themes.

Attractive, customizable themes

Cutting-edge design with several built-in themes, such as Fluent, Tailwind CSS, Bootstrap, Material, and Fabric. Utilize the online Theme Studio tool to customize themes of diagram easily.

Globalization and localization in React Diagram.

Globalization and localization

Enable users from different locales to use the component by formatting dates, currency, and numbering to suit preferences.


React Diagram Code Example

Easily get started with the React Diagram using a few simple lines of TSX code example as demonstrated below. Also explore our React Diagram Example that shows you how to render and configure a Diagram in React.

import * as React from "react";
import "./App.css";
// import the DiagramComponent
import { DiagramComponent } from "@syncfusion/ej2-react-diagrams";

export default class App extends React.Component<{}, {}> {
  render() {
    return <DiagramComponent id="diagram" />;
  }
}

Flowchart

The React Diagram provides all the standard flowchart shapes as ready-made objects to build flowcharts, making it is easy to add them to a diagram surface in a single call.

Flowchart in React Diagram.


Organizational chart in React Diagram.

Organizational chart

Arrange the parent and child node positions automatically with a built-in, automatic layout algorithm specifically made for organizational charts.


Mind map

The automatic layout algorithm is also built for mind map diagrams. You can define which node should be at the center and which nodes should be placed around the center node in the diagram surface.

Mind map in React Diagram.


Nodes

Visualize any graphical object using nodes, which can be arranged and manipulated at the same time on a diagram page. They allow the following:

  • Use many predefined standard shapes.
  • Create and add custom shapes easily.
  • Fully customize the appearance of a node.
  • Design a node UI template and reuse it across multiple nodes.

Connectors

A connector represents a relationship between two nodes.

Different types of connectors available in React Diagram.

Types

The React Diagram provides straight, orthogonal, polyline, and curved connector types. You can choose any of these based on the type of diagram or relationship between the connected nodes.

Connector line jump behavior in React Diagram.

Bridging or line jumps

Use bridging (line jumps) to illustrate a connector’s route, making it easy to read where connectors overlap each other in a dense diagram.

Predefined arrowheads in React Diagram.

Arrow heads

Use different types of predefined arrowheads to illustrate flow direction in flowchart diagrams. You can also build your own custom arrowheads.

Connector appearance customization in React Diagram.

Appearance

Like nodes, the connector look and feel can also be customized any way you want. The React Diagram component provides a rich set of properties through which you can customize connector color, thickness, dash and dot appearance, corners, and even decorators.


Ports (connection points)

Attach connectors to specific places on a node through different types of ports or connecting points.

Connecting points in React Diagram.


Labels

Additional information can be shown by adding text or labels on nodes and connectors.

Text editing support during runtime in React Diagram.

Edit

You can add and edit text at runtime and mark it read-only if it should not be edited.

Add multiple labels on nodes and connectors using Label feature in React Diagram.

Multiple labels

Add any number of labels and align them individually.

Align labels inside or outside a node in React Diagram.

Alignment

Labels include sophisticated alignment options: Place inside or outside a node, or at the source or target end of a connector. Automatically align when a node or connector moves.


Interactive features

Use interactive features to improve the editing experience of a React Diagram at runtime. Furthermore, you can easily edit a diagram with mouse, touchscreen, or keyboard interfaces.

Select and drag the nodes or connectors using handlers in React Diagram.

Select and drag

Select one or more nodes, connectors, or annotations and edit them using thumbs or handlers.

Select and resize nodes using handlers in React Diagram.

Resize

You can resize a node in eight different directions and lock a node’s aspect ratios to keep its shape. You can also resize multiple objects at the same time.

Select and rotate nodes using handlers in React Diagram.

Rotate

Rotate selected nodes from 0 to 360 degrees in React Diagram.

Undo and redo the recent changes using history manager feature in React Diagram.

Undo and redo

Don’t worry when you edit by mistake—undo and redo commands help to easily correct recent changes.

Cut, copy, and paste selected objects within a diagram using the clipboard feature in React Diagram.

Clipboard

Cut, copy, paste, or duplicate selected objects within and across diagrams.

Move objects to the top or bottom of the diagram using the z-order feature in React Diagram.

Z-order

When multiple objects overlap, the z-order controls which object is at the top and which is at the bottom.

Align nodes and connectors with the nearest gridlines or objects in React Diagram.

Snap

Precisely align nodes, connectors, and annotations while dragging just by snapping to the nearest gridlines or objects.

Combine multiple nodes into a group node in React Diagram.

Grouping

You can combine multiple nodes into a group and then interact with them as a single object. Nested groups are also possible with our React Diagram component.

Quick commands can be shown as buttons near a selector in React Diagram.

Quick commands

Frequently used commands like delete, connect, and duplicate can be shown as buttons near a selector. This makes it easy for users to perform those operations quickly instead of searching for the correct buttons in a toolbox.


Alignment

Our React Diagram Library has predefined alignment commands that enable you to align the selected objects’ nodes and connectors with respect to the selection boundary.

Arrange selected objects in equal intervals using spacing commands in React Diagram.

Spacing commands

Spacing commands enable you to place selected objects on the diagram at equal intervals from each other.

Resize selected objects to have equal sizes in React Diagram

Sizing commands

Use sizing commands to equally size selected nodes with respect to the first selected object.

Align selected objects horizontally or vertically by using align commands in React Diagram.

Align commands

All the nodes or connectors in the selection list can be aligned at the left, right, or center horizontally, or aligned at the top, bottom, or middle vertically with respect to the selection boundary.


Automatic layout

Arrange nodes automatically based on a predefined layout algorithm. Features a built-in hierarchical tree, radial tree, and symmetric layouts.


React Diagram ruler.

Ruler

Rulers allow you to measure the distance of nodes or connectors from the origin of the page. This is especially useful in creating scale models.


Symbol palette

React Diagram Library includes a gallery of stencils, reusable symbols, and nodes that can be dragged onto the surface of a diagram.

Symbol palette feature in React Diagram Library.


Overview panel in React Diagram.

Overview panel

The overview panel allows you to improve the navigation experience when exploring large diagrams. It displays a small preview of the full diagram page that allows users to zoom and pan within it.


Drawing tools

Draw all kinds of built-in nodes and connect them with connectors interactively by just clicking and dragging on the drawing area.

Draw nodes and connectors interactively using React Diagram.


Zooming and panning in React Diagram.

Zoom and pan tools

View a large diagram closely or assume a wider view by zooming in and out. Also, navigate from one region of a diagram to another by panning across the diagram.


Exporting

You can export a diagram to different image files such as PNG, JPEG, BMP, and SVG.

React Diagram exporting.


React Diagram printing.

Printing

Print diagrams from the browser. You can also customize the page size, orientation, and page margin, and fit a diagram to a single page.


Serialization

You can save your diagram state in JSON format and load it back later for further editing using the serializer.

Save and load a diagram by serializing it to JSON format using React Diagram.


Miscellaneous

In addition to all the features listed thus far, there are many more that enhance the diagramming experience.

Align objects using gridlines in React Diagram.

Gridlines

Gridlines provide guidance when trying to align objects.

Define page-like appearance on the drawing surface using React Diagram.

Page layout

Give a page-like appearance to the drawing surface using page size, orientation, and margins.

Additional information about a node can be viewed by using tooltips in React Diagram.

Tooltip

Use tooltips to provide additional information about a node.

Use context menu feature to map frequently used commands in React Diagram.

Context menu

Easily map frequently used commands to the context menu.


Additional features

Keyboard navigation in React Diagram.

Keyboard navigation

The React Diagram control ensures that every cell is accessible using the keyboard. Major features like sort, select, and edit can be performed using keyboard commands alone; no mouse interaction is required. This helps in creating highly accessible applications using this control.

React Diagram developer-friendly APIs.

Developer-friendly APIs

Developers can have full control over the UI and behavior of the event calendar through its built-in, developer-friendly APIs. It allows you to customize even the complex Diagram functionalities with ease.





Other supported frameworks

The Diagram is available for the Blazor, Angular, JavaScript, and Vue frameworks. Explore its platform-specific options through the following links:

Supported browsers

The React Diagram works well with all modern web browsers, including Chrome, Firefox, Edge, Safari, and Opera.

Supported browsers in React Diagram.

85+ REACT UI COMPONENTS

Frequently Asked Questions

The Syncfusion React Diagram offers the following features:

We do not sell the React Diagram separately. It is only available for purchase as part of the Syncfusion team license. This contains over 1,800 components and frameworks, including the React Diagram. The price of the team license starts at $395 per month for 5 developers, and includes support and updates until the subscription expires. In addition, we might offer discounts based on currently active promotions. Please contact our product specialists today to see if you qualify for any additional discounts.

You can find our React Diagram demo, which demonstrates how to render and configure the Diagram.

No, our 1,800+ components and frameworks for web, mobile, and desktop, including our React Diagram, are not sold individually. They are only available as part of a team license. However, we have competitively priced the product, so it only costs a little bit more than what some other vendors charge for their Diagram component alone. We have also found that, in our experience, our customers usually start off using one of our products and then expand to several products quickly, so we felt it was best to offer all 1,800+ components and frameworks for a subscription fee that starts at $395 per month for a team of 5 developers. Additionally, we might be able to offer discounts based on currently active promotions. Please contact our product specialists today to see if you qualify for any additional discounts.

No, this is a commercial product and requires a paid license. However, a free community license is also available for companies and individuals whose organizations have less than $1 million USD in annual gross revenue, 5 or fewer developers, and 10 or fewer total employees.

A good place to start would be our comprehensive getting started documentation.

Our Customers Love Us

Having an excellent set of tools and a great support team, Syncfusion reduces customers’ development time.
Here are some of their experiences.

Rated by users across the globe

Transform your applications today by downloading our free evaluation version
Download Free Trial No credit card required.

Awards

Greatness—it’s one thing to say you have it, but it means more when others recognize it. Syncfusion is proud to hold the following industry awards.

Up arrow icon