changed implementation of graph to using mindmapjs and ran the example code