|
@ -13,6 +13,7 @@ |
|
|
|
|
|
|
|
|
<script type="text/javascript" src="../../../dist/vis.js"></script> |
|
|
<script type="text/javascript" src="../../../dist/vis.js"></script> |
|
|
<link href="../../../dist/vis-network.min.css" rel="stylesheet" type="text/css" /> |
|
|
<link href="../../../dist/vis-network.min.css" rel="stylesheet" type="text/css" /> |
|
|
|
|
|
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css"> |
|
|
|
|
|
|
|
|
<script type="text/javascript"> |
|
|
<script type="text/javascript"> |
|
|
var nodes = null; |
|
|
var nodes = null; |
|
@ -46,6 +47,8 @@ |
|
|
{id: 31, font:{size:30}, label: 'big text', shape: 'text'}, |
|
|
{id: 31, font:{size:30}, label: 'big text', shape: 'text'}, |
|
|
{id: 32, font:{size:30}, size:40, label: 'big star', shape: 'star'}, |
|
|
{id: 32, font:{size:30}, size:40, label: 'big star', shape: 'star'}, |
|
|
{id: 33, font:{size:30}, size:40, label: 'big hexagon', shape: 'hexagon'}, |
|
|
{id: 33, font:{size:30}, size:40, label: 'big hexagon', shape: 'hexagon'}, |
|
|
|
|
|
{id: 34, font:{size:30}, label: 'icon square', shape: 'square', icon: {code:'\uf164'} }, |
|
|
|
|
|
{id: 35, font:{size:30}, label: 'icon dot', shape: 'dot', icon: {code:'\uf165'} }, |
|
|
]; |
|
|
]; |
|
|
|
|
|
|
|
|
edges = [ |
|
|
edges = [ |
|
|