8

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

Glorfindel
  • 21,988
  • 13
  • 81
  • 109
Julian Lettner
  • 3,309
  • 7
  • 32
  • 49

4 Answers4

5

Julian,

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

Piotr Justyna
  • 4,888
  • 3
  • 25
  • 40
2

Small/open source C# library on Git renders to HTML5 (You can modify to render to for example WPF or Winform as well)

https://gridwizard.wordpress.com/2015/03/25/simple-c-library-to-render-graph-to-flowchart

Jaye
  • 152
  • 4
1

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

vittore
  • 17,449
  • 6
  • 44
  • 82
0

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
  • 34,502
  • 9
  • 78
  • 118
  • He also needs to Select elements, and all in all I think some Component model would be appropriate here. – H H Mar 31 '10 at 16:37
  • 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 Mar 31 '10 at 18:03