views:

354

answers:

3

I need to programatically create Visio look-a-like diagrams as a drawing. Mostly we are going to create network layout diagrams similar to this one.

Is there a component that could speed-up the development or some technique we could use? Generally we could do this on our own via System.Drawing, but this might get tricky for more complex network diagrams as we would have to ensure there are no visual overlappings.

UPDATE: No Visio available. UPDATE 2: I would love if these could be eye candy

+1  A: 

Have you looked at the Visio API? It has a VBA feature. To recreate the Visio functionality using System.Drawing classes could get quite complex and need a herculean effort.

Mikos
The Visio API assumes @Anne has Visio available.
ProfK
No Visio available. Sorry :(
Anne
Mikos
Yup, MS Charts are great but no Network diagram available best to my knowledge...
Anne
A: 

Have a look at this WPF Diagram Designer on CodeProject. It looks like it provides a lot of what you need, and WPF has unlimited potential for eye candy.

ProfK
It does not look eye candy, and that is what customer needs :(((
Anne
Then instill in the customer an appreciation of the need for Visio. :-)
ProfK
Would love to do that, but we need it to build a redistributable product so Visio is no go. :((((
Anne
I've changed my answer completely. Have a look at the new diagram designer I've linked to - looks much better.
ProfK
+1  A: 

Graphviz may be of some use...

pete
Worked with before. Very powerful but not eye candy.
Anne