buy now
log in
MindFusion LLS company logo
Add a diagram editor to your JavaScript app
Download V4.8.2   Install from npm
An interactive organizational chart created with MindFusion
  JavaScript diagram library. A BPMN workflow rendered by MindFusion JavaScript diagram library A flowchart created with MindFusion JavaScript
  component showing a process flow with logic decision points.

Diagramming components for JavaScript

Build powerful, interactive diagrams with our JavaScript Diagram library. It provides everything you need to visualize hierarchies, flowcharts, and layouts, featuring high-performance auto-routing, advanced graph layout algorithms, and a rich set of UI components for user interaction.

"I've just ordered and can't wait to begin integrating into my project! Trying to write my own custom library for diagramming has been killing me - with this I'm excited to get back on the road to progress."
Mr. Kevin Sheahan, Killbox

Popular Use Cases

For over two decades, developers across every industry have trusted MindFusion's diagramming library to power their mission-critical applications. From enterprise business software to specialized engineering tools, our library provides the proven reliability and rich features needed to visualize any complex system.
A decision flowchart built with the JavaScript diagram library

Decision Flowchart

Clearly illustrate process flows and logical branches with animated flowcharts

An interactive organizational chart created with the JavaScript diagram library showing a company hierarchy.

Org Chart

Display company structures and hierarchies with interactive org charts that support features like expanding, collapsing, and in-place editing.

A swimlane diagram created with the JavaScript library, showing a business process flow across several departments.

Swimlane & Process Flow Diagram

Map out complex, multi-departmental workflows and clarify responsibilities using cross-functional swimlane diagrams.

A database schema diagram created with the JavaScript library, illustrating tables with their columns, keys, and the methods of the corresponding data objects.

Database & ORM Diagrams

Design and visualize database schemes, ERDs, or object-relational models to clearly map out table structures and their corresponding application-level logic.

A hierarchical diagram showing a bacterial classification taxonomy, created with the JavaScript diagram library to visualize complex data relationships.

Hierarchical & Tree Diagrams

Visualize any hierarchical structure—from organizational charts to complex taxonomies—using automatic layouts and interactive features like branch expand/collapse.

A network topology diagram created with the JavaScript library, showing interconnected device nodes representing servers, routers, and workstations.

Network & Topology Diagrams

Map out IT infrastructure, logical network topologies or device relationships by combining rich node types with highly customizable links to clearly represent data flows and connections.

An office floor plan created with the JavaScript diagram library, showing the layout of desks, computers, and network equipment.

Floor Plans & Seating Charts

Design interactive office layouts, seating charts, or event floor plans with custom shapes and layers to manage complex spatial arrangements.

A flowchart created with the JavaScript diagram library that visualizes a program's logic, with nodes representing methods, loops, and conditional statements.

Code & Logic Flow Visualization

Illustrate program execution, debug logical flows, or document algorithms by creating flowcharts that represent your code structure and methods.

A business process diagram that adheres to the BPMN 2.0 standard, created using the JavaScript diagram library to model a complex workflow.

BPMN & Workflow Diagrams

Model complex business processes with full support for the BPMN 2.0 standard, creating enterprise-grade workflow and automation diagrams.

Supported Platforms

Diagram Item Types

Our library includes a comprehensive array of node and link types to suit any modeling scenario. From standard flowchart shapes and BPMN elements to advanced composite and container nodes, you have all the building blocks needed to create truly sophisticated diagrams.
Some of the 100+ predefined node shapes available in the JavaScript diagram library, showcasing geometric, flowchart, and custom designs.

Shape Nodes

ShapeNode objects let you leverage a comprehensive collection of over 100 predefined geometric shapes to construct classic flowcharts and block diagrams. For unique requirements, use the Shape Designer tool to create custom geometries.

 A diagram featuring table nodes with spanning cells, used to represent a database schema or class hierarchy within the JavaScript diagram library.

Table Nodes

Represent complex data entities using the TableNode API, which enable you to create grid-like structures inside a node. This is essential feature for building UML class models or database schemas that depend on column and row visualization.

Composite nodes are built from multiple elements like panels, images, and labels 
  and demonstrate custom node creation in the JavaScript diagram library.

Composite Nodes

Design highly customized nodes by combining various UI elements such as images, text labels, and geometric shapes. Composite Nodes provide powerful layout capabilities, allowing you to precisely arrange these components using flexible grid and stack layouts.

A diagram displaying nodes that render scalable vector graphics (SVG images) - a key feature of MindFusion JavaScript diagram library.

Svg Nodes

Integrate high-quality, resolution-independent vector graphics directly into your diagrams.

Control Nodes that contain interactive UI elements like buttons and sliders, are one of the various node types supported by the JavaScript diagram library.

Control Nodes

Embed HTML controls like buttons, sliders, and input fields directly inside nodes.

A ContainerNode that groups the layers of a system architectureinto separate steps.

Container Nodes

Organize complex graphs using containers, which allow nested nodes to be managed as a single entity. Users can fold or unfold containers, switching between a high-level overview and a detailed sub-diagram view.

A PagedContainerNode that organizes the steps of a project in separate modules.

Paged Container Nodes

Encapsulate complex subsystems into a single, multi-page node for organization and clarity. With built-in navigation controls, it's the ideal tool for keeping your users focused through multi-step processes."

A ContainerNode that groups together two table nodes.

Free Form Nodes

Let your users draw naturally on any device. The library can automatically recognize and convert free-form drawings into precise geometric shapes, instantly turning rough sketches into professional diagrams.

A diagram node containing an expandable TreeView, showing a nested hierarchy of text and icons within the node itself.

TreeView Nodes

Display complex hierarchical data directly inside a single node.

A close-up of various BPMN 2.0 nodes, including gateways, events, and tasks, supported by the JavaScript diagram library.

BPMN Support

A rich set of nodes that fully support the BPMN standard.

A diagram featuring a video node, showing an embedded video player playing content directly within the diagram's canvas.

Video Nodes

Add rich, interactive content by embedding and playing videos inside nodes.

Automatic Layouts

Instantly apply sophisticated arrangements to your diagrams for optimal clarity and readability.
A graph arranged with the Spring layout algorithm of the JavaScript diagram library

Spring Layout

Spring-Embedder simulates a physical system in which nodes repulse each other, and the links between them act as confining springs.

A diagram arranged with the Grid layout algorithm

Grid Layout

The GridLayout arranges nodes in a grid, keeping connected nodes close together and strives to achieve a small number of link crossings.

A source-code graph arranged with the Flowchart layout of the JavaScript diagram library from MindFusion

Flowchart Layout

The FlowchartLayout recognizes program code -like patterns in the graph, such as loops, sequences and if/switch branchings, and arranges them recursively.

A graph arranged with the TreeLayout algorithm provided by the JavaScript diagram library from MindFusion

Tree Layout

The TreeLayout class arranges diagram elements in tree-like hierarchies with lots of options to customize the result like spacing, direction, alignment etc.

A flowchart arranged with the BorderedTreeLayout algorithm provided by the JavaScript diagram library from MindFusion

Bordered Tree Layout

The BorderedTreeLayout arranges tree-like data structures and exposes properties for specifying level distance, root distance, link shape and more.

A flowchart arranged with the Fractal tree layout algorithm provided by the JavaScript diagram library from MindFusion

Fractal Layout

The FractalLayout tree layout algorithm places child nodes symmetrically around their parent node.

A flowchart arranged with the Layered layout algorithm provided by the JavaScript diagram library from MindFusion

Layered Layout

The LayeredLayout algorithm arranges diagram nodes in layers, according to several criteria. The direction can be horizontal or vertical.

A flowchart arranged with the Layered layout algorithm provided by the JavaScript diagram library from MindFusion

Orthogonal Layout

The OrthogonalLayout algorithm was designed for planar graphs where the nodes have at most four incident links, and produces best results with such graphs as input.

A flowchart arranged with the Radial tree layout algorithm provided by the JavaScript diagram library from MindFusion

Radial Tree Layout

The RadialTree layout class arranges tree levels in concentric circles around the root with properties for level distance, direction, stretch factor and more.

A flowchart arranged with the Topological layout algorithm provided by the JavaScript diagram library from MindFusion

Topological Layout

The Topological layout arranges nodes in a row or a column in such a way that there are as fewer back links as possible.

A flowchart arranged with the TreeMap layout algorithm provided by the JavaScript diagram library from MindFusion

TreeMap Layout

Tree maps represent hierarchies by nesting child nodes within their parents, where the areas of leaf nodes are proportional to their Weight values.

Additional Components

Build a complete and professional application with this rich set of auxiliary UI controls that are part of the MindFusion JavaScript diagram library.
The overview control showing a miniature preview of the diagram, with the option to pan and change the currently visible area.

Overview Control

The Overview control provides a miniature preview of the diagram with quick panning for fast navigation.

The zoom and pan control, which is part of MindFusion JavaScript diagram library.

Zoom & Pan Control

Enable effortless navigation of large and complex diagrams with an intuitive zoom and pan control.

A shape is being dragged from the NodeListView in the JavaScript diagram library and a clone of it is created at the place where it's dropped.

NodeListView

The NodeListView is a drag-and-drop control that you can populate with any standard or custom nodes to streamline diagram creation.

The ruler control is one of the auxiliary controls in the JavaScript diagram library

Ruler Control

Add precision to your diagrams with horizontal and vertical rulers that track the mouse cursor and support various units of measure.

A Palette control is part of MindFusion JavaScript diagram library and organizes diagram nodes into collapsible sections that represent categories.

Palette Control

The Palette control groups nodes into collapsible sections and lets you organize large sets of shapes.

A multi-tabbed diagram interface, showing different diagrams open in separate tabs, demonstrating the TabbedView control.

Tabbed Diagram View

Built for multi-document JavaScript applications, the TabbedDiagramView component renders several diagrams in separate tabs.

"First of all, the product is the best in the market - and I have researched this. Secondly, I received outstanding support from MindFusion even during the trial! I really like the straightforward licensing model which makes Mindfusion's products an ideal platform for commercial applications."

Mr. Mark Horbal, independent developer

More testimonials >>

Why Choose MindFusion JavaScript Diagram Library?

Speed up the development process, get better results with less effort.
Excellent Customer Support

First-class Support

Support questions are usually answered within hours of being received.

An image of a drawing board to illustrate the various samples that the JavaScript diagram library includes.

Various Samples

Numerous samples demonstrate all features of the library.

An image of a book with a pen to illustrate the extensive documentation that comes with the JavaScript diagram library.

Detailed Documentation

All API members have comprehensive description with sample source code.

An illustration of a digital check-box to show how easy the API of the JavaScript diagram library is.

Easy-to-use API

Elegant API design with intuitive member names.

A callout drawing that symbolizes how easy it is to program with the JavaScript diagram library given its detailed documentation

Intellisense

JavaScript intellisense file for all API members is included in the distribution archive.

An image of box with tools that shows the versatility of the JavaScript diagram library by MindFusion

Tailored To Your Needs

A long list of settings, customization options and styling possibilities.

A drawing of keys that illustrate the license keys for the JavaScript diagram library

Affordable Licenses

All licenses are perpetual, prices start from $450 with big discounts for small companies, free-lancers, academic and non-profit institutions.

An image of a building block that symbolizes the source code of the JavaScript diagram library.

Source Code

You can buy the complete source code of the JavaScript diagram library.

An image of a globe to demonstrate the universal terms of licensing for the JavaScript diagram library.

Maintenance

MindFusion.Diagramming license includes 12 months of upgrades and technical support.

Secure and Dependency-Free

Protect your application and your users with a library built for enterprise-grade security. Unlike other components, MindFusion packages have zero third-party npm dependencies. Our source-available license lets you eliminate any risk of supply-chain attacks by incorporating the diagram code directly into your project.

MindFusion Pack for JavaScript

Copyright © 2001-2025 MindFusion LLC. All rights reserved.
License Agreement - Terms of Use - Contact Us