@syncfusion/ej2-diagrams
TypeScript icon, indicating that this package has built-in type declarations

29.1.39 • Public • Published

JavaScript Diagram Control

The JavaScript Diagram control is used for visualizing, creating, and editing interactive diagrams. It supports creating flowcharts, organizational charts, mind maps, floor plans, UML diagrams, and BPMN charts either through code or a visual interface.

Getting started . Online demos . Learn more

JavaScript Diagram Control

Trusted by the world's leading companies Bootstrap logo

Setup

To install Diagram and its dependent packages, use the following command.

npm install @syncfusion/ej2-diagrams  

Supported frameworks

Diagram control is also offered in the following list of frameworks.


     Angular    

       React      

       Vue         

  ASP.NET Core  

  ASP.NET MVC  

Use case demos

Key features

  • Nodes - Nodes are used to host graphical objects (path or controls) that can be arranged and manipulated on a diagram page. Many predefined standard shapes are included. Custom shapes can also be created and added easily.
  • Connectors - The relationship between two nodes is represented using a connector.
  • Labels- Labels are used to annotate nodes and connectors.
  • Ports - Ports act as the connection points of the node and allows to create connections with only those specific points.
  • Interactive features - Interactive features are used to improve the run time editing experience of a diagram.
  • Data binding - Generates diagram with nodes and connectors based on the information provided from an external data source.
  • Commands - Supports a set of predefined commands that helps edit the diagram using keyboard. It is also possible to configure new commands and key combinations.
  • Automatic Layout - Automatic layouts are used to arrange nodes automatically based on a predefined layout logic. There is built-in support for the organizational chart layout, hierarchical tree layout, symmetric layout, radial tree layout, and mind map layout.
  • Overview panel - The overview panel is used to improve navigation experience when exploring large diagrams.
  • SymbolPalettes - The symbol palette is a gallery of reusable symbols and nodes that can be dragged and dropped on the surface of a diagram.
  • Rulers - The ruler provides horizontal and vertical guides for measuring diagram objects in diagram control.
  • Serialization - When saved in JSON format a diagram’s state persists, and then it can be loaded back using serialization.
  • Exporting and Printing - Diagrams can be exported as .png, .jpeg, .bmp, and .svg image files, and can also be printed as documents.
  • Gridlines - Gridlines are the pattern of lines drawn behind diagram elements. It provides a visual guidance while dragging or arranging the objects on a diagram surface.
  • Page Layout- The drawing surface can be configured to page-like appearance using page size, orientation, and margins.
  • Context Menu - Frequently used commands can easily be mapped to the context menu.

Support

Product support is available through the following mediums.

Changelog

Check the changelog here. Get minor improvements and bug fixes every week to stay up to date with frequent updates.

License and copyright

This is a commercial product and requires a paid license for possession or use. Syncfusion’s licensed software, including this component, is subject to the terms and conditions of Syncfusion's EULA. To acquire a license for 80+ JavaScript UI controls, you can purchase or start a free 30-day trial.

A free community license is also available for companies and individuals whose organizations have less than $1 million USD in annual gross revenue and five or fewer developers.

See LICENSE FILE for more info.

© Copyright 2025 Syncfusion® Inc. All Rights Reserved. The Syncfusion® Essential Studio® license and copyright applies to this distribution.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
29.1.39796latest
21.1.4221beta

Version History

VersionDownloads (Last 7 Days)Published
29.1.39796
29.1.38220
29.1.37433
29.1.35661
29.1.3477
29.1.33594
28.2.12595
28.2.11174
28.2.1050
28.2.945
28.2.6426
28.2.3427
28.1.39187
28.1.37121
28.1.3614
28.1.3524
28.1.33198
27.2.51,141
27.2.426
27.2.32
27.2.220
27.1.58159
27.1.5736
27.1.5532
27.1.5351
27.1.5216
27.1.5117
27.1.5015
27.1.4811
26.2.12822
26.2.1117
26.2.1071
26.2.897
26.2.547
26.2.4153
26.1.4279
26.1.4114
26.1.406
26.1.3572
25.2.5704
25.2.411
25.2.359
25.1.4250
25.1.4122
25.1.4023
25.1.391
25.1.3839
25.1.373
25.1.357
24.2.9408
24.2.85
24.2.713
24.2.51
24.2.4259
24.2.3571
24.1.47104
24.1.4696
24.1.4517
24.1.436
24.1.417
23.2.7615
23.2.61
23.2.431
23.1.4471
23.1.4327
23.1.4215
23.1.402
23.1.391
23.1.381
23.1.3633
22.2.12276
22.2.117
22.2.108
22.2.940
22.2.81
22.2.70
22.2.560
22.1.3844
22.1.366
21.1.4221
21.1.361
22.1.347
21.2.9381
21.2.81
21.2.68
21.2.554
21.2.49
21.2.320
21.1.393
21.1.3735
21.1.3521
20.4.54706
20.4.531
20.4.525
20.4.504
20.4.4810
20.4.42126
20.4.401
20.4.383
20.3.6166
20.3.602
20.3.5816
20.3.571
20.3.561
20.3.508
20.3.491
20.3.4813
20.3.474
20.2.4967
20.2.452
20.2.4426
20.2.430
20.2.4018
20.2.391
20.2.3811
20.2.36270
20.1.61154
20.1.6011
20.1.593
20.1.577
20.1.5526
20.1.5128
20.1.484
20.1.470
19.4.561,061
19.4.551
19.4.541
19.4.530
19.4.525
19.4.500
19.4.4889
19.4.431
19.4.424
19.4.410
19.4.408
19.4.387
19.3.595
19.3.5618
19.3.550
19.3.5341
19.3.480
19.3.470
19.3.460
19.3.450
19.3.445
19.3.4328
19.2.6259
19.2.6010
19.2.5921
19.2.571
19.2.562
19.2.551
19.2.514
19.2.490
19.2.480
19.2.461
19.2.442
19.1.6952
19.1.671
19.1.661
19.1.652
19.1.640
19.1.634
19.1.590
19.1.573
19.1.560
19.1.540
18.4.48321
18.4.477
18.4.460
18.4.430
18.4.4212
18.4.410
18.4.392
18.4.350
17.2.55-12054790
18.4.342
18.4.320
18.4.310
18.4.300
18.3.5340
18.3.5216
18.3.517
17.2.52-12054791
18.3.500
18.3.480
18.3.470
18.3.440
18.3.420
18.3.400
18.3.351
18.2.596
18.2.581
18.2.564
18.2.550
18.2.540
18.2.480
18.2.4628
18.2.450
18.2.440
18.1.598
18.1.571
18.1.563
18.1.557
18.1.541
18.1.521
18.1.482
18.1.460
18.1.453
18.1.430
18.1.422
18.1.36-beta0
17.4.55100
17.4.517
17.4.500
17.4.470
17.4.461
17.4.440
17.4.431
17.4.414
17.4.401
17.4.393
17.3.345
17.3.301
17.3.290
17.3.280
17.3.273
17.3.260
17.3.211
17.3.1910
17.3.170
17.3.140
17.3.9-beta0
17.2.510
17.2.491
17.2.48-beta1
17.2.29-beta0
17.2.471
17.2.461
17.2.410
17.2.400
17.2.390
17.2.363
17.2.351
17.2.343
17.2.28-beta0
17.1.503
17.1.490
17.1.480
17.1.471
17.1.441
17.1.430
17.1.420
17.1.4152
17.1.400
17.1.380
17.1.32-beta0
16.4.54160
16.4.531
16.4.523
17.1.1-beta0
16.4.480
16.4.471
16.4.461
16.4.441
16.4.420
16.4.40-beta1
16.3.3420
16.3.330
16.3.302
16.3.290
16.3.271
16.3.251
16.3.241
16.3.212
16.3.170
16.2.5012
16.2.491
16.2.470
16.2.461
16.2.450
16.2.410

Package Sidebar

Install

npm i @syncfusion/ej2-diagrams

Weekly Downloads

16,076

Version

29.1.39

License

SEE LICENSE IN license

Unpacked Size

43.9 MB

Total Files

453

Last publish

Collaborators

  • syncfusionorg
  • essentialjs2
  • syncfusion-javascript