Arrow icon
See all demos

Finite Object Pool

Do the elements of your diagram represent real-world objects - objects that can exist one at a time and cannot be easily duplicated? This demo shows how to manage a pool of objects that are either available in a stencil or already used on the canvas.
Demo instructions
Drag the objects from the left stencil onto the canvas and notice that they are no longer available and cannot be duplicated.

Made with JointJS+

Only available with the JointJS+ commercial license in the apps/ directory of your package. Don't have a license yet? Start a trial and use the source code of all our demos for free, with no strings attached, for 30 days.

Made with JointJS

Available in the JointJS open-source library which helps developers create simple visual applications in less time.

Speed up your development with aย powerful library

Leverage a time-tested JavaScript diagramming library using the best of HTML5 and SVG to accelerate your development.