The JointJS+ Layouts demo showcases embedding functionality while the embedded elements and their respective parent are structured using the JointJS DirectedGraph and JointJS+ GridLayout layouts.
Demo instructions
Drag and drop child elements onto parent elements to embed a child element in a parent container.
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.