Skip to content

Instantly share code, notes, and snippets.

Created September 19, 2011 06:24
Show Gist options
  • Save anonymous/1226050 to your computer and use it in GitHub Desktop.
Save anonymous/1226050 to your computer and use it in GitHub Desktop.
SiGMa random example (HTML)
<!-- Button to generate random graphs -->
<button id="random" type="button" onclick="feedSiGMa();">Click to generate a random graph</button>
<!-- SiGMa -->
<div id="SiGMa-container" style="height:400px;width:100%;">
<object id="SiGMa-client" style="width:100%;height:98%;border:1px #866 solid;">
<param name="movie" value="/static/sigma-random/sigma.swf?configPath=/static/sigma-random/config.json"/>
<param name="allowScriptAccess" value="always"/>
<embed name="SiGMa-container" src="/static/sigma-random/sigma.swf?configPath=/static/sigma-random/config.json" allowScriptAccess="always">
</embed>
</object>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment