Export to json done, addEdge done