This demo shows two shape types: horizontal and vertical containers. They allow you to combine other shapes within a container. The Diagram control supports stacked containers that ship with the expand and collapse functionalites.