Arrow icon
See all demos

Dynamic Stencil

The Dynamic Stencil demo provides the user with a palette of JointJS elements which can be dragged onto the paper. The user is able to manipulate selections, and dynamically add the selections to the palette for future use.
Demo instructions
Drag stencil elements to the paper. Make a selection with multiple elements by dragging the mouse over elements, and interact with the Selection tools. Add manipulated selections dynamically to the stencil using the custom Selection tool handle.

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.

We equip developers with all the plugins they need to save time and focus their energy elsewhere such as Stencil, GridLayout, Selection, and Raster.

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.