Fixed interaction_graph to be used with cytoscape.js