visjs-network
Version:
A dynamic, browser-based network visualization library.
37 lines (36 loc) • 1.36 kB
HTML
<!-- saved from url=(0044)http://kenedict.com/networks/worldcup14/vis/ , thanks Andre!-->
<html>
<head>
<meta http-equiv='content-type' content='text/html; charset=UTF8'>
<title>Network | Static smooth curves - World Cup Network</title>
<script type='text/javascript' src='../../../dist/vis.js'></script>
<link type='text/css' rel='stylesheet' href='../../../dist/vis-network.min.css'>
<script src='../../datasources/WorldCup2014.js'></script>
<style type='text/css'>
#mynetwork {
width: 800px;
height: 800px;
border: 1px solid lightgray;
}
#optionsContainer {
height:280px;
}
</style>
</head>
<body>
<h2>Static smooth curves - World Cup Network</h2>
<div style='width:700px; font-size:14px;'>
The static smooth curves are based only on the positions of the connected
nodes.
There are multiple ways to determine the way this curve is drawn.
This example shows the effect of the different types on a large network.
<br/> <br/>
Also shown in this example is the inheritColor option of the edges as well as
the roundness factor. Because the physics has been disabled, the dynamic smooth curves do not work here.
</div>
<div id='optionsContainer'></div>
<div id='mynetwork'></div>
<script src='./index.js' type='text/javascript'></script>
</body>
</html>