visjs-network
Version:
A dynamic, browser-based network visualization library.
27 lines (26 loc) • 696 B
HTML
<html>
<head>
<title>Network | Setting the random seed</title>
<script type='text/javascript' src='../../../dist/vis.js'></script>
<link href='../../../dist/vis-network.min.css' rel='stylesheet' type='text/css' />
<style type='text/css'>
#mynetwork {
width: 600px;
height: 400px;
border: 1px solid lightgray;
}
p {
max-width:600px;
}
</style>
</head>
<body>
<p>
Create a simple network with some nodes and edges but with a fixed seed. This means the layout will be the same every time the nodes
are settled.
</p>
<div id='mynetwork'></div>
<script src='./index.js' type='text/javascript'></script>
</body>
</html>