Recently I have discovered a really cool d3.js plugin called cola.js, which is a port of some carefully written code in C++ that handles adaptive diagrams. Using this will allow me to easily plot constrained graphs in a web browser. I think it would have taken me forever to write something that can work this well. I wanted to be able to draw graphs as a debugging tool, and also as a visual aid when working on neural network architectures that can be evolved, so this seems to be the right tool.
After some hacking around, I was able to write a simple graph in .json format and have it plot on a live webpage.
In this graph, I was able to lock the positions of the input and output nodes at the bottom and top respectively, while relying on cola.js to place the hidden nodes where it wants. The actual code is a bit messy and I am not too familiar with d3, so I will need to write a wrapper to use this with a NEAT implementation.
This will look much cooler than typical NEAT graphs seen on the web (courtesy of NEAT page):