⚛ Now available: JointJS for React — a first-class React integration for building diagram UIs. Learn more
This is documentation for JointJS Docs 4.2, which is no longer actively maintained.
For up-to-date documentation, see the latest version (4.3).
Version: 4.2
Diagram basics
JointJS diagrams are built using several JointJS objects - all JointJS applications need to have a Graph and a Paper. The graph contains a reference to all contents of your diagram, while the paper is responsible for rendering the graph.