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

28.2.3 • 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® licensed software, including this component, is subject to the terms and conditions of Syncfusion® 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
28.2.3121latest
21.1.4236beta

Version History

VersionDownloads (Last 7 Days)Published
28.2.3121
28.1.391,543
28.1.37114
28.1.36183
28.1.3548
28.1.33262
27.2.5589
27.2.480
27.2.322
27.2.247
27.1.58206
27.1.57189
27.1.5542
27.1.5354
27.1.5222
27.1.5128
27.1.5077
27.1.4851
26.2.12730
26.2.1159
26.2.10444
26.2.889
26.2.565
26.2.4182
26.1.4260
26.1.4126
26.1.401
26.1.3523
25.2.5810
25.2.410
25.2.3129
25.1.4282
25.1.4118
25.1.4043
25.1.3910
25.1.3817
25.1.371
25.1.358
24.2.9361
24.2.81
24.2.73
24.2.51
24.2.4211
24.2.3565
24.1.47251
24.1.46782
24.1.4522
24.1.431
24.1.4119
23.2.7529
23.2.63
23.2.4171
23.1.4460
23.1.4327
23.1.4220
23.1.401
23.1.391
23.1.381
23.1.3649
22.2.12452
22.2.119
22.2.101
22.2.931
22.2.81
22.2.71
22.2.55
22.1.38183
22.1.368
21.1.4236
21.1.361
22.1.345
21.2.9238
21.2.83
21.2.65
21.2.578
21.2.45
21.2.36
21.1.3944
21.1.3710
21.1.3535
20.4.54718
20.4.532
20.4.522
20.4.5012
20.4.4852
20.4.4254
20.4.404
20.4.3825
20.3.6152
20.3.603
20.3.5813
20.3.574
20.3.564
20.3.5019
20.3.493
20.3.484
20.3.477
20.2.4989
20.2.454
20.2.4452
20.2.4318
20.2.4022
20.2.395
20.2.387
20.2.3616
20.1.61100
20.1.6015
20.1.5911
20.1.573
20.1.5525
20.1.51155
20.1.485
20.1.473
19.4.56755
19.4.551
19.4.543
19.4.534
19.4.524
19.4.504
19.4.48120
19.4.437
19.4.4261
19.4.411
19.4.4018
19.4.386
19.3.597
19.3.5621
19.3.553
19.3.5360
19.3.481
19.3.472
19.3.464
19.3.454
19.3.445
19.3.4314
19.2.6248
19.2.606
19.2.597
19.2.575
19.2.563
19.2.553
19.2.511
19.2.492
19.2.481
19.2.461
19.2.444
19.1.6932
19.1.671
19.1.667
19.1.654
19.1.6412
19.1.634
19.1.597
19.1.574
19.1.563
19.1.542
18.4.48383
18.4.479
18.4.463
18.4.435
18.4.427
18.4.412
18.4.393
18.4.356
17.2.55-12054790
18.4.345
18.4.323
18.4.313
18.4.3023
18.3.5334
18.3.524
18.3.5110
17.2.52-12054791
18.3.504
18.3.484
18.3.473
18.3.444
18.3.421
18.3.401
18.3.353
18.2.598
18.2.582
18.2.5635
18.2.551
18.2.543
18.2.482
18.2.4626
18.2.452
18.2.446
18.1.5925
18.1.572
18.1.561
18.1.558
18.1.541
18.1.521
18.1.483
18.1.461
18.1.451
18.1.432
18.1.422
18.1.36-beta0
17.4.5593
17.4.519
17.4.502
17.4.472
17.4.461
17.4.442
17.4.432
17.4.412
17.4.402
17.4.391
17.3.341
17.3.303
17.3.291
17.3.281
17.3.271
17.3.261
17.3.211
17.3.1910
17.3.171
17.3.143
17.3.9-beta0
17.2.516
17.2.491
17.2.48-beta0
17.2.29-beta0
17.2.473
17.2.462
17.2.412
17.2.401
17.2.393
17.2.366
17.2.351
17.2.342
17.2.28-beta1
17.1.504
17.1.491
17.1.482
17.1.471
17.1.441
17.1.432
17.1.421
17.1.4144
17.1.401
17.1.382
17.1.32-beta2
16.4.5493
16.4.531
16.4.5215
17.1.1-beta1
16.4.482
16.4.472
16.4.461
16.4.441
16.4.422
16.4.40-beta1
16.3.3422
16.3.332
16.3.3021
16.3.292
16.3.272
16.3.251
16.3.243
16.3.211
16.3.171
16.2.503
16.2.491
16.2.471
16.2.461
16.2.451
16.2.411

Package Sidebar

Install

npm i @syncfusion/ej2-diagrams

Weekly Downloads

3,101

Version

28.2.3

License

SEE LICENSE IN license

Unpacked Size

42.4 MB

Total Files

451

Last publish

Collaborators

  • syncfusionorg
  • essentialjs2
  • syncfusion-javascript