Skip to content

Instantly share code, notes, and snippets.

@jacomyal
Forked from anonymous/index.html
Created September 26, 2011 09:32
Show Gist options
  • Save jacomyal/1241931 to your computer and use it in GitHub Desktop.
Save jacomyal/1241931 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 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