views:

352

answers:

3

I want to visualize components and connections of a HVAC system with .NET/C#. The diagrams will just include a few different components and their connections. They do not have to comply to any formal standard and should look alike the diagrams attached. In addition the user should be able to select a single component/connection (so that I can display additional data).

Which free drawing/charting library would you use and why?

Thanks for your time.

HVAC system HVAC system

A: 

It doesn't get more free than System.Drawing...

Seriously, given your requirements I'm not sure you need a framework or library. The most complex part of the system you describe is drawing the lines between components. If that doesn't have to get fancy (automatic layout, detecting where the lines overlay other lines/boxes) then you can probably roll the whole thing custom.

Dave Swersky
He also needs to Select elements, and all in all I think some Component model would be appropriate here.
Henk Holterman
The entities (components/connection) that have to be visualized are not static. Also the number of entities can vary by a large quantity.Therefore automatic layout is needed.
Julian Lettner
+1  A: 

I would try to host VS studio designer in application , how you can host workflow designer for instance. Read about VS extensibilities

vittore
A: 

Julian,

Please check out GraphSharp: http://graphsharp.codeplex.com/Release/ProjectReleases.aspx

Piotr Justyna
Another problem solved, another mission done!
Piotr Justyna