Added functionality to create a graph from JSON

Removed dagre-d3, d3 from library