summaryrefslogtreecommitdiff
path: root/www/lib/vis/examples/network/nodeStyles/shapes.html
diff options
context:
space:
mode:
authorPliable Pixels <pliablepixels@gmail.com>2017-09-27 12:42:48 -0400
committerPliable Pixels <pliablepixels@gmail.com>2017-09-27 12:42:48 -0400
commit210e8feae2fb4842bfb2de38666e6c41671fef3c (patch)
treecbdafa34b1a6260bb20236d7e9de9eb1b690a1c5 /www/lib/vis/examples/network/nodeStyles/shapes.html
parente7e7baeaad90229ccb3e0f45f4ebd77be7d79b14 (diff)
removed lib
Diffstat (limited to 'www/lib/vis/examples/network/nodeStyles/shapes.html')
-rw-r--r--www/lib/vis/examples/network/nodeStyles/shapes.html73
1 files changed, 0 insertions, 73 deletions
diff --git a/www/lib/vis/examples/network/nodeStyles/shapes.html b/www/lib/vis/examples/network/nodeStyles/shapes.html
deleted file mode 100644
index 26625301..00000000
--- a/www/lib/vis/examples/network/nodeStyles/shapes.html
+++ /dev/null
@@ -1,73 +0,0 @@
-<!doctype html>
-<html>
-<head>
- <title>Network | Shapes</title>
-
- <style type="text/css">
- #mynetwork {
- width: 1000px;
- height: 800px;
- border: 1px solid lightgray;
- }
- </style>
-
- <script type="text/javascript" src="../../../dist/vis.js"></script>
- <link href="../../../dist/vis-network.min.css" rel="stylesheet" type="text/css" />
-
- <script type="text/javascript">
- var nodes = null;
- var edges = null;
- var network = null;
-
- function draw() {
- nodes = [
- {id: 1, label: 'circle', shape: 'circle' },
- {id: 2, label: 'ellipse', shape: 'ellipse'},
- {id: 3, label: 'database',shape: 'database'},
- {id: 4, label: 'box', shape: 'box' },
- {id: 5, label: 'diamond', shape: 'diamond'},
- {id: 6, label: 'dot', shape: 'dot'},
- {id: 7, label: 'square', shape: 'square'},
- {id: 8, label: 'triangle',shape: 'triangle'},
- {id: 9, label: 'triangleDown', shape: 'triangleDown'},
- {id: 10, label: 'text', shape: 'text'},
- {id: 11, label: 'star', shape: 'star'},
- {id: 21, font:{size:30}, label: 'big circle', shape: 'circle' },
- {id: 22, font:{size:30}, label: 'big ellipse', shape: 'ellipse'},
- {id: 23, font:{size:30}, label: 'ellipse with a long label text', shape: 'ellipse'},
- {id: 24, font:{size:30}, label: 'big database',shape: 'database'},
- {id: 25, font:{size:30}, label: 'big box', shape: 'box' },
- {id: 26, font:{size:30}, size:40, label: 'big diamond', shape: 'diamond'},
- {id: 27, font:{size:30}, size:40, label: 'big dot', shape: 'dot'},
- {id: 28, font:{size:30}, size:40, label: 'big square', shape: 'square'},
- {id: 29, font:{size:30}, size:40, label: 'big triangle',shape: 'triangle'},
- {id: 30, font:{size:30}, size:40, label: 'big triangleDown', shape: 'triangleDown'},
- {id: 31, font:{size:30}, label: 'big text', shape: 'text'},
- {id: 32, font:{size:30}, size:40, label: 'big star', shape: 'star'}
- ];
-
- edges = [
- ];
-
- // create a network
- var container = document.getElementById('mynetwork');
- var data = {
- nodes: nodes,
- edges: edges
- };
- var options = {physics:{barnesHut:{gravitationalConstant:-4000}}};
- network = new vis.Network(container, data, options);
- }
- </script>
- <script src="../../googleAnalytics.js"></script>
-
-<body onload="draw()">
-
-<p>
- Nodes can have all sorts of shapes. Note the exception where the nodes with text inside and the text type's size are determined by the font size, not the node size.
-</p>
-<div id="mynetwork"></div>
-
-<div id="info"></div>
-</body>
-</html>