App code for cytoscape 3