Paul,
Sorry about that.
The original demo code reads an array of integers that is used to create a multi-page document with different page layout placement and routing selections. My first thought was to add some different arrays (those are now stored in the Array module) so that I could look at how hierarchys are laid out. However as I was building the 'test' arrays the requirements changed (surprise). The other two modules hold the constants (visio cell value definitions) and some basic code.
The button on the first page of the document pulls up a multi-tab form that has two functions (for me), drawing a custom page with various attributes, drawing multiple pages to compare attributes.
The requirements turned out to be
a.) the ability to select layout, routing, and line jump attributes and draw a single discrete page. The cell selections are mirrored to the first tab. Select the combination and press discrete.
b.) I wanted to check out which child shapes were placed where and the interaction of connection points.
Checking the rectangle box draws named rectangles instead of the default shapes so I can spot when Visio moves shapes.
Checking connections adds connection points to the rectangles/shapes to understand connector layouts.
c.) the prebuilt arrays can be selected in the listbox and press the draw arrays.
d.) clear deletes all the pages except the first one.
Not horribly sophisticated, just something to play with. There should be enough variations in the examples so that it will be easy to take apart.
Al