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.
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.