Even more simplification/modularization of d3 pipeline. Test adding nodes to graph (doesn't work).