alot of tweaks to node placement added, now works very accuratley when converting to cartesian co-ordinates in sigma js