JointJS is a JavaScript and TypeScript library for interactive diagrams in the browser. Teams use it for flow editors, BPMN, SCADA views, ER models, org charts, and AI workflow builders.
Overview
JointJS renders interactive diagrams using SVG in the browser. Applications include flowchart and process editors, BPMN modelers, data and ER diagram tools, industrial SCADA-style canvases, org charts, timelines, and node-based AI pipeline builders.
The library ships standard shapes, links, ports, routers, highlighters, layouts, and JSON import and export. An event-driven graph API supports traversal, zoom, and touch interaction. It works with React through dedicated components and offers integration guides for Angular, Vue, Svelte, and other stacks.
An optional commercial JointJS+ line adds stencils, inspectors, toolbars, and advanced import and export plugins. An MCP server exposes documentation and demo search for AI coding agents.
Open-source JointJS core is licensed under the Mozilla Public License 2.0 and installs from npm for bundler-based web apps.
Key features
- SVG-based elements and customizable links
- JSON import and export for diagrams
- Automatic layout and graph traversal APIs
- Element ports, tools, and highlighters
- Native React diagram components and hooks
- Framework guides for Angular and Vue
- Touch support and zoom interactions
- MCP server for doc and demo search
Use cases
- Embed a flowchart editor in a web app
- Build BPMN or process automation UIs
- Create data modeling or org chart interfaces