Cytoscape test: Difference between revisions
From FANTOM5_SSTAR
No edit summary |
No edit summary |
||
Line 40: | Line 40: | ||
}; | }; | ||
// draw options | |||
var draw_options = { | |||
// your data goes here | |||
network: sif, | |||
//visualStyle: visual_style, | |||
nodeTooltipsEnabled: true, | |||
edgeTooltipsEnabled: true, | |||
panZoomControlVisible: true | |||
}; | |||
// init and draw | // init and draw | ||
var vis = new org.cytoscapeweb.Visualization(div_id, options); | var vis = new org.cytoscapeweb.Visualization(div_id, options); | ||
vis.draw( | vis.draw(draw_options); | ||
}; | }; | ||
</script> | </script> |
Revision as of 13:05, 23 April 2012
Cytoscape Web will replace the contents of this div with your graph.