tags:

views:

20

answers:

1

An app (C#4, WinForms, Entity Framework, SQL Server 2008) of mine maintains a graph of interconnected objects, each having some simple member fields and a set of many directed (in and out) one-to-one links to other objects.

I'd like to offer a user an ability to view and edit this graph visually some way, creating and removing connections, modifying objects attributes values and introducing/dropping objects.

I suppose there has to be a framework (at list a primitive kind of) for this as visual model design tools are pretty common to meet. Do you know one?

+2  A: 

A few years ago I collaborated with a project that used this kind of tool to build parsing software for education. The tool that was used was Graphviz, in special dot and dotty. If you don't know what is it, then this is a short description about it:

Graphviz is open source graph visualization software. It has several main graph layout programs.

The Graphviz layout programs take descriptions of graphs in a simple text language, and make diagrams in several useful formats such as images and SVG for web pages, Postscript for inclusion in PDF or other documents; or display in an interactive graph browser. (Graphviz also supports GXL, an XML dialect.)

Graphviz has many useful features for concrete diagrams, such as options for colors, fonts, tabular node layouts, line styles, hyperlinks, and custom shapes.

This is an example of the kind of graphs that were built:

alt text

You should note that this is not a native .NET tool, but of course, you can use it anyway.

eKek0