switching over to graphs to be pushed to Cytoscape