I'm actually not too sure on this one.  I see your point. The idea would be to make the GraphView defs accessible and then use them, but I'm also not familiar enough with how d3 is working to know how to implement this.

Feel free to modify it later if you figure out how you think it should work.