graph is building properly,

commented out some code which builds either svg or png!! works!

simple graph writer works, and has TODO's in it