tweaked prettify JSON function, pulled out to utils, fixed creation of edges by dragging and dropping it onto nodes instead of clicking