Sha256: 067158ea82b0e2c7e1d198f7a01d69ef17ff86206d4a7dabbc61bca8dcec799c
Contents?: true
Size: 995 Bytes
Versions: 202
Compression:
Stored size: 995 Bytes
Contents
<html> <body> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script> <script src="springy.js"></script> <script src="springyui.js"></script> <script> var graph = new Springy.Graph(); graph.addNodes('Dennis', 'Michael', 'Jessica', 'Timothy', 'Barbara') graph.addNodes('Amphitryon', 'Alcmene', 'Iphicles', 'Heracles'); graph.addEdges( ['Dennis', 'Michael', {color: '#00A0B0', label: 'Foo bar'}], ['Michael', 'Dennis', {color: '#6A4A3C'}], ['Michael', 'Jessica', {color: '#CC333F'}], ['Jessica', 'Barbara', {color: '#EB6841'}], ['Michael', 'Timothy', {color: '#EDC951'}], ['Amphitryon', 'Alcmene', {color: '#7DBE3C'}], ['Alcmene', 'Amphitryon', {color: '#BE7D3C'}], ['Amphitryon', 'Iphicles'], ['Amphitryon', 'Heracles'], ['Barbara', 'Timothy', {color: '#6A4A3C'}] ); jQuery(function(){ var springy = jQuery('#springydemo').springy({ graph: graph }); }); </script> <canvas id="springydemo" width="640" height="480" /> </body> </html>
Version data entries
202 entries across 202 versions & 1 rubygems