User:Hisa/cytoscape test: Difference between revisions
From FANTOM5_SSTAR
No edit summary |
No edit summary |
||
Line 36: | Line 36: | ||
}; | }; | ||
var sif = ' | var sif = 'node1 typeA node2 node3 node4 node5\nnode2 typeB node6'; | ||
// initialization options | // initialization options | ||
Line 49: | Line 48: | ||
// 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({ network: | vis.draw({ network: sif }); | ||
}; | }; | ||
</script> | </script> |
Revision as of 10:28, 20 April 2012
Cytoscape Web will replace the contents of this div with your graph.