Netron and a solution for finding configuration files
Via Lutz Roeder's weblog (http://aisto.com/roeder/frontier/rss.xml) I read about Netron(http://netron.sourceforge.net) which is now an open source project but is based on some development he did in the early stages of .Net.
It looks very interesting as I was looking for a .Net library that would allow me do graphing and layout out the objects correctly which would leave me to do write the actual programming logic for my application.
It seems to do what I want but it did bring up an interesting problem. I compiled the provided solution and tried to run it. The program compiled but failed to run as it was looking for a file that it could not find. I think that the location of files can be a big problem if you build in dependencies on a given installation location. As I am often working on the same code in different locations i.e. at work and at home I have started using a Gotdotnet workspace for source control.
I find that the easiest way of dealing with some xml configuration files that I normally use for the applications is to create a directory "dependencies" within the project directory and then I can refer to it within the program simply by using the following statements:
string configFile =@"/dependencies/setup.xml";
string setupFile =System.AppDomain.CurrentDomain.BaseDirectory +configFile;
This makes it much easier as I am now no longer dependent upon the location where the project has been installed. Here I am talking about configuration information that I do not place in the App.Config file.