Skip to content
JavaScript diagramming library
JavaScript HTML Other
Pull request Compare This branch is 47 commits behind clientIO:master.
Latest commit 6577a48 Apr 12, 2016 @chill117 chill117 Merge pull request #300 from kumilingus/uselinktools
dia.LinkView: add useLinkTools interactivity feature
Failed to load latest commit information.
css css clean up (remove deprecated highlight rules, hex colors only) Mar 11, 2016
demo dia.LinkView: refactor available magnets marking (use highlighters) Apr 1, 2016
dist Vectorizer: fix findParentByClass when terminator is not on the way d… Jan 28, 2016
plugins RAP-821: Can now layout an array of cells instead of the full graph. Apr 8, 2016
scripts Fix for running `npm install` in production node environment. Feb 24, 2016
src dia.LinkView: add useLinkTools interactivity feature Apr 11, 2016
test Fixes for test coverage task Apr 11, 2016
wrappers Issue #215: Improve grunt build tasks and add `grunt dist` Feb 5, 2016
.bowerrc refactorize tests Apr 14, 2015
.csslintrc Added CSS linting Apr 11, 2016
.gitignore Fixes for test coverage task Apr 11, 2016
.jscsrc intoduce jscs, implement method for finding link connection points fo… Apr 12, 2015
.travis.yml Don't need to run `grunt dist` before tests anymore. Feb 24, 2016
CHANGELOG Merge pull request #291 from chill117/vectorizer-spring-cleaning Apr 6, 2016
Gruntfile.js Fixes for test coverage task Apr 11, 2016
LICENSE first commit in version 0.6 Jul 19, 2013
Makefile Updates from upstream. Fixes for grunt file. Can now run tests via `n… Jan 18, 2016 Fixes for test coverage task Apr 11, 2016
bower.json Issue #223: Removed bower dependencies. Now using the dependencies in… Feb 2, 2016
index.js Issue #215: Improve grunt build tasks and add `grunt dist` Feb 5, 2016
package.json Added CSS linting Apr 11, 2016

JointJS - JavaScript diagramming library

Build Status

JointJS is a JavaScript diagramming library. It can be used to create either static diagrams or, and more importantly, fully interactive diagramming tools and application builders.

Please see for more information, demos and documentation.


  • basic diagram elements (rect, circle, ellipse, text, image, path)
  • ready-to-use diagram elements of well-known diagrams (ERD, Org chart, FSA, UML, PN, DEVS, ...)
  • custom diagram elements based on SVG or programmatically rendered
  • interactive elements and links
  • connecting diagram elements with links
  • customizable links, their arrowheads and labels
  • links smoothing (bezier interpolation)
  • magnets (link connection points) can be placed basically anywhere
  • hierarchical diagrams
  • serialization/deserialization to/from JSON format
  • highly event driven - you can react on any event that happens inside the paper
  • zoom in/out
  • touch support
  • plugin awareness
  • MVC architecture
  • ... a lot more

Supported browsers

Only the good ones (those that support SVG):

  • Latest Google Chrome (including mobile)
  • Latest Firefox
  • Safari (including mobile)
  • IE 9+

Development Environment

If you want to work on JointJS locally, use the following guidelines to get started.


Make sure you have the following dependencies installed on your system:


Clone this git repository:

git clone

Change into the joint directory:

cd joint

Run installation

npm install

This will install all npm and bower dependencies as well as run a full build.


To run all tests:

grunt test

To run only the server-side tests:

grunt test:server

To run only the client-side tests:

grunt test:client

To run code style checks:

grunt test:code-style

Code Coverage

To output a code coverage report in lcov format for all unit tests:

grunt test:coverage --reporter="lcov"

The output will be saved to a new file named at the root of the project directory.

Building Distribution Files

The dist directory contains pre-built distribution files. To re-build them, run the following:

grunt dist


JointJS library is licensed under the Mozilla Public License, v. 2.0. Please see the LICENSE file for the full license.

Copyright (c) 2013 client IO


Bitdeli Badge

Something went wrong with that request. Please try again.