biojs snippets in cytoscape