Syncfusion Feedback

Trusted by the world’s leading companies

Syncfusion Trusted Companies

Overview

The ASP.NET Core Diagram is a feature-rich 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 the Syncfusion ASP.NET Core Diagram?

Aspnetcore Diagram Automatic Layout image

Automatic layout

Automatically arrange nodes based on a predefined layout algorithm.

Aspnetcore Diagram Data Binding image

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.

Aspnetcore Diagram Interactive Editing image

Interactive editing

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

Aspnetcore Diagram Adapts To Any Resolution image

Adapts to any resolution

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

Aspnetcore Diagram Reusable Symbols image

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

Aspnetcore Diagram Template Shapes image

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.

Aspnetcore Diagram Customizable Themes image

Attractive, customizable themes

Create cutting-edge design with several built-in themes, including Fluent, Tailwind CSS, Bootstrap, Material, and Fabric. Utilize the online Theme Studio tool to customize Diagram themes easily.

Aspnetcore Diagram Global Local image

Globalization and localization

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


ASP.NET Core Diagram code example

Easily get started with the ASP.NET Core Diagram using a few simple lines of CSHTML and C# code, as demonstrated below. Also explore this ASP.NET Core Diagram example, which shows you how to render and configure a Diagram in ASP.NET Core.

<ejs-diagram id="container" width="100%" height="700px" >
    <e-diagram-nodes>
        <e-diagram-node id='node1' offsetX="100" offsetY="100" width="100" height="100" borderWidth="2"><e-node-style fill="darkcyan">
        </e-node-style>
    </e-diagram-node>
    </e-diagram-nodes>
</ejs-diagram>
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Syncfusion.EJ2.Diagrams;
using System.Drawing;

namespace EJ2MVCSampleBrowser.Controllers.Diagram
{
    public partial class DiagramController : Controller
    {
        // GET: Nodes
        public ActionResult Nodes()
        {
            List<DiagramNode> nodes = new List<DiagramNode>();
            List<DiagramNodeAnnotation> Node1 = new List<DiagramNodeAnnotation>();
            Node1.Add(new DiagramNodeAnnotation() { Content = "node1", Style = new DiagramTextStyle() { Color = "White", StrokeColor = "None" } });
            nodes.Add(new Node()
            {
                Id = "node1",
                Width = 100,
                Height = 100,
                text = "node1",
                OffsetX = 100,
                OffsetY = 100,
                Annotations = Node1
            });
            ViewBag.nodes = nodes;
            return View();
        }
    }
    public class Node : DiagramNode
    {
        public string text;
    }
}

Real-time collaboration in ASP.NET Core Diagram

Real-time collaboration

Multiple users can edit the same diagram simultaneously and see live updates, improving teamwork and efficiency.

  • User presence highlight: Each element shows who is currently interacting with it.
  • Conflict handling: When multiple users edit the same element, the first user’s changes are applied, and the others are notified of the conflict.

Flowchart

The ASP.NET Core 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 Diagram created with built-in flowchart shapes available in ASP.NET Core Diagram control.


Organizational chart visualization using data binding and automatic layout features in ASP.NET Core Diagram control.

Organizational chart

A built-in layout algorithm, specifically made for organizational charts, arranges the parent and child node positions automatically.


Mind map

The built-in layout algorithm also works for mind map diagrams. It allows you to define which node should be at the center and which nodes should be placed around it in the diagram surface.

Mind map diagram created with data binding and automatic layout features available in ASP.NET Core Diagram control.


Visio integration

Seamless Visio integration

Import Microsoft Visio (.vsdx) files into the ASP.NET Core Diagram and export the ASP.NET Core Diagrams back to Visio format, with support for flow shapes, basic shapes, groups, connectors, ports, and annotations.


UML sequence diagram

Visualizes time‑ordered interactions between system participants by modeling lifelines and message exchanges, enabling precise analysis of execution flow, request‑response behavior, and component collaboration.

UML sequence Diagram in ASP.NET Core Diagram Control.


Nodes

Visualize any graphical object using nodes that can be arranged and manipulated at the same time on a diagram page. Users can:

  • 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. Some of the key features are described here.

Different types of connectors available in ASP.NET Core Diagram control.

Types

The ASP.NET Core Diagram control provides straight, orthogonal, polyline, and curved connector types.

Connector line jump behavior in ASP.NET Core Diagram control.

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 the ASP.NET Core Diagram control illustrate flow direction in the diagram.

Arrowheads

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 ASP.NET Core Diagram control.

Appearance

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

Line routing in ASP.NET Core Diagram Control.

Line routing

Orthogonal connectors navigate the shortest and most efficient path to prevent overlapping with neighboring nodes.

Avoid connector overlap in ASP.NET Core Diagram Control.

Avoid connector overlap

Automatically adjusts connector paths to prevent visual overlap, ensuring clear, distinct routing in complex diagrams. Enhances readability, reduces clutter, and maintains clean connector separation for improved user understanding.


Ports (connection points)

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

Connect to specific places on a node using ports in the ASP.NET Core Diagram control.


Labels

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

Additional information can be shown on nodes and connectors using labels in the ASP.NET Core Diagram control.

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 in ASP.NET Core Diagram Control.

Multiple labels

Add any number of labels and align them individually.

Align labels inside or outside a node in ASP.NET Core Diagram control.

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.


BPMN editor

The ASP.NET Core diagram includes all standard BPMN (Business Process Model and Notation) shapes, which are essential graphical elements used to visualize business processes effectively within a BPMN diagram.

BPMN diagram in ASP.NET Core.


Swimlane in ASP.NET Core diagram.

Swimlane

The ASP.NET Core diagram supports swimlanes, which are visual elements in a swimlane diagram that represent various components, activities, and responsibilities within a business process.


Containers

Containers organize related elements into clearly defined sections, supporting drag‑and‑drop interaction, flexible layouts, independent styling, and grouped event handling to improve UI clarity, consistency, and overall user experience.

Container in ASP.NET Core diagram.


Interactive features

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

Select and drag the nodes or connectors using handlers in the ASP.NET Core Diagram control.

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 the ASP.NET Core Diagram control.

Resize

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

Select and rotate nodes using handlers in the ASP.NET Core Diagram control.

Rotate

Rotate selected nodes from 0 to 360 degrees.

Undo and redo recent changes using a history manager in the ASP.NET Core Diagram control.

Undo and redo

Undo and redo in diagramming tools allow users to reverse or reapply actions such as moving, resizing, and creating/deleting elements, and more.

Cut, copy, and paste selected objects within a diagram using the clipboard feature in ASP.NET Core Diagram control.

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 ASP.NET Core Diagram control.

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 ASP.NET Core Diagram control.

Snap

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

Combine multiple nodes into a group node in ASP.NET Core Diagram control.

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 ASP.NET Core Diagram control.

Quick commands can be shown as buttons near a selector in ASP.NET Core Diagram control.

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 quickly perform those operations instead of searching for the correct buttons in a toolbox.


Alignment

Our ASP.NET Core Diagram control has predefined alignment commands that enable you to align the selected objects’ nodes and connectors with respect to the selection boundary.

Aspnetcore Diagram Spacing Commands image

Spacing commands

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

Aspnetcore Diagram Sizing Command image

Sizing commands

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

Aspnetcore Diagram Alignment Commands image

Align commands

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


Automatic layout

Use automatic layouts to arrange nodes based on a predefined layout algorithm. The control features built-in hierarchical tree, radial tree, and symmetric layouts.


Measure the distance of nodes from the page origin using a ruler feature in the ASP.NET Core Diagram control.

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

The symbol palette includes a gallery of stencils, reusable symbols, and nodes that can be dragged onto the surface of a diagram.

Host reusable nodes inside the symbol palette in the ASP.NET Core Diagram control.


Aspnetcore Diagram Overview image

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 by just clicking and dragging on the drawing area.

Draw nodes and connectors interactively using ASP.NET Core Diagram Control.


View a large diagram closely or from farther away by zooming in and out in the ASP.NET Core Diagram control.

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 it.


Exporting

You can export the diagram to image formats such as PNG, JPEG, BMP, and SVG.

Export the Diagram to different image formats using the ASP.NET Core Diagram control.


Print diagrams from the browser using the ASP.NET Core Diagram control.

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 ASP.NET Core Diagram control.


Virtualization in ASP.NET Core Diagram.

Virtualization

Quickly load large diagrams using UI-virtualization techniques, which selectively loads the objects that lie within the viewport area. Smooth scrolling performance is achieved using a built-in spatial search algorithm that builds an index based on the element position.


Miscellaneous

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

Align objects using gridlines in ASP.NET Core Diagram control.

Gridlines

Gridlines provide guidance when trying to align objects.

Define a page-like appearance on the drawing surface using ASP.NET Core Diagram control.

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 ASP.NET Core Diagram control.

Tooltips

Use tooltips to provide additional information about a node.

Use a context menu to map frequently used commands in the ASP.NET Core Diagram.

Context menu

Easily map frequently used commands to the context menu.


Additional features

Keyboard navigation in ASP.NET Core Diagram.

Keyboard navigation

The ASP.NET Core 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.

ASP.NET Core Diagram developer-friendly APIs.

Developer-friendly APIs

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





Other supported frameworks

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

Supported browsers

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

Supported browsers in ASP.NET Core Diagram.

140+ ASP.NET CORE UI CONTROLS

Frequently Asked Questions

You can find our ASP.NET Core Diagram demo here.

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.

See Real Success Stories

Developers around the world trust Syncfusion’s Essential Studio to simplify complex projects and speed up delivery. With a vast library of UI controls, powerful SDKs, and reliable support, Essential Studio helps teams build enterprise-ready applications with confidence.

Read Our Customer Stories


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