Personal tools

User:Hisa/cytoscape test: Difference between revisions

From FANTOM5_SSTAR

Jump to: navigation, search
No edit summary
No edit summary
Line 36: Line 36:
                 };
                 };


                 var sif = 'FF:0000004 is_a FF:10000-101A1
                 var sif = 'node1 typeA node2 node3 node4 node5\nnode2 typeB node6';
FF:0000210 is_a FF:10000-101A1';
                  
                  
                 // 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: networ_json });
                 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.