Help! regarding Visio SDK drawing layout

N

ninena2002

I am trying to generate a visio diagram through the visio SDK and would like
to know if I can generate a diagram programmatically.

I did read little about the SDK and I was able to create a visio drawing and
add shapes and connect shapes programmatically. My biggest question is that
how to automatically layout the shapes so that it looks structured.

This is a hight level diagram

- Cluster A consists of two web server boxes
- Cluster B consists of two application server boxes
- Cluster C consists of two database boxes

Cluster A boxes are connected to application server boxes
Cluster B boxes are connected to database boxes

Each server box is represented as a simple rectangle.
Each cluster is represented as a simple rectangle.

Main point here is how to create two shapes and auto align them inside
another shape?

Here is the example diagram that I am trying to generate programmatically.

http://viewmorepics.myspace.com/ind...n=E9C3212A-7737-AD4B-A19B119E364136AF32527990
or you can see a smaller image @ http://www.myspace.com/arunr2002


Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top