UNPKG

visjs-network

Version:

A dynamic, browser-based network visualization library.

23 lines (22 loc) 690 B
<!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 src='./index.js' type='text/javascript'></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>