joyent-portal/legacy/spikes/architecture/sigmajs/index.html
Sérgio Ramos 8295bd6882 chore: initial lerna setup
this shall be a progressive process
2017-05-25 10:56:50 +01:00

21 lines
483 B
HTML

<div id="container">
<style>
#graph-container {
top: 0;
bottom: 0;
left: 0;
right: 0;
position: absolute;
}
</style>
<div id="graph-container"></div>
</div>
<script src="vendor/sigma.js"></script>
<script src="vendor/plugins/sigma.parsers.json.min.js"></script>
<!-- <script src="vendor/plugins/sigma.renderers.parallelEdges.min.js"></script> -->
<script>
sigma.parsers.json('services.json', {
container: 'graph-container'
});
</script>