vis.js is a dynamic, browser-based visualization library
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

159 lines
9.7 KiB

  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head><script>(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)})(window,document,'script','//www.google-analytics.com/analytics.js','ga');ga('create', 'UA-61231638-1', 'auto');ga('send', 'pageview');</script>
  4. <meta charset="utf-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6. <meta name="viewport" content="width=device-width, initial-scale=1">
  7. <title>Network Examples</title>
  8. <link rel="icon" HREF="favicon.ico">
  9. <!-- Bootstrap -->
  10. <link href="./css/bootstrap.css" rel="stylesheet">
  11. <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
  12. <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
  13. <!--[if lt IE 9]>
  14. <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
  15. <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
  16. <![endif]-->
  17. <link href="./css/prettify.css" rel="stylesheet" type="text/css" />
  18. <script type="text/javascript" src="./js/prettify/prettify.js"></script>
  19. <script src="./dist/vis.js"></script>
  20. <link href="./dist/vis.css" rel="stylesheet" type="text/css" />
  21. <link href="./css/examples.css" rel="stylesheet" type="text/css" />
  22. <script src="./js/imagesNetwork.js"></script>
  23. <link href="./css/imagesNetwork.css" rel="stylesheet" type="text/css" />
  24. </head>
  25. <body onload="loadVis(150);">
  26. <div class="navbar-wrapper">
  27. <div class="container">
  28. <nav class="navbar navbar-inverse navbar-static-top" role="navigation">
  29. <div class="container">
  30. <div class="navbar-header">
  31. <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
  32. <span class="sr-only">Toggle navigation</span>
  33. <span class="icon-bar"></span>
  34. <span class="icon-bar"></span>
  35. <span class="icon-bar"></span>
  36. </button>
  37. <a class="navbar-brand hidden-sm" href="./index.html">vis.js</a>
  38. </div>
  39. <div id="navbar" class="navbar-collapse collapse">
  40. <ul class="nav navbar-nav">
  41. <li class="active"><a href="./index.html#modules">Modules</a></li>
  42. <li><a href="./index.html#download_install">Download</a></li>
  43. <li><a href="./showcase/index.html">Showcase</a></li>
  44. <li><a href="./index.html#contribute">Contribute</a></li>
  45. <li><a href="./index.html#licenses">License</a></li>
  46. </ul>
  47. </div>
  48. </div>
  49. </nav>
  50. </div>
  51. </div>
  52. <div class="contentWrapper">
  53. <div id="networkContainer"></div>
  54. <div id="contentContainer">
  55. <h1>Network Examples</h1>
  56. This page contains examples which show how to use Network. For the documentation, please click the button below: <br><br>
  57. <a class="btn btn-primary" href="./docs/network" role="button">View docs »</a>
  58. <h3>basic usage</h3>
  59. <a class='exampleLink' href="examples/network/basicUsage.html">basic usage</a><br />
  60. <h3>node styles</h3>
  61. <a class='exampleLink' href="examples/network/nodeStyles/colors.html">colors</a><br />
  62. <a class='exampleLink' href="examples/network/nodeStyles/groups.html">groups</a><br />
  63. <a class='exampleLink' href="examples/network/nodeStyles/customGroups.html">custom groups</a><br />
  64. <a class='exampleLink' href="examples/network/nodeStyles/HTMLInNodes.html">HTML in nodes</a><br />
  65. <a class='exampleLink' href="examples/network/nodeStyles/icons.html">icons (Fontawesome and Ionicons)</a><br />
  66. <a class='exampleLink' href="examples/network/nodeStyles/images.html">images</a><br />
  67. <a class='exampleLink' href="examples/network/nodeStyles/imagesWithBorders.html">images with borders</a><br />
  68. <a class='exampleLink' href="examples/network/nodeStyles/circularImages.html">circular images</a><br />
  69. <a class='exampleLink' href="examples/network/nodeStyles/shadows.html">node shadows</a><br />
  70. <a class='exampleLink' href="examples/network/nodeStyles/shapes.html">node shapes</a><br />
  71. <a class='exampleLink' href="examples/network/nodeStyles/shapesWithDashedBorders.html">dashed borders</a><br />
  72. <h3>edge styles</h3>
  73. <a class='exampleLink' href="examples/network/edgeStyles/arrows.html">arrows (also combined with dashes)</a><br />
  74. <a class='exampleLink' href="examples/network/edgeStyles/colors.html">different colors</a><br />
  75. <a class='exampleLink' href="examples/network/edgeStyles/dashes.html">dashes</a><br />
  76. <a class='exampleLink' href="examples/network/edgeStyles/smooth.html">smooth curves</a><br />
  77. <a class='exampleLink' href="examples/network/edgeStyles/smoothWorldCup.html">smooth curves in action</a><br />
  78. <h3>labels</h3>
  79. <a class='exampleLink' href="examples/network/labels/labelAlignment.html">label alignment (for edges only)</a><br />
  80. <a class='exampleLink' href="examples/network/labels/labelBackground.html">label background</a><br />
  81. <a class='exampleLink' href="examples/network/labels/labelColorAndSize.html">colors and sizes</a><br />
  82. <a class='exampleLink' href="examples/network/labels/labelStroke.html">label stroke</a><br />
  83. <a class='exampleLink' href="examples/network/labels/multilineText.html">multiline text</a><br />
  84. <h3>layout</h3>
  85. <a class='exampleLink' href="examples/network/layout/hierarchicalLayout.html">hierarchical layout</a><br />
  86. <a class='exampleLink' href="examples/network/layout/hierarchicalLayoutMethods.html">hierarchical layout - different methods</a><br />
  87. <a class='exampleLink' href="examples/network/layout/hierarchicalLayoutUserdefined.html">hierarchical layout - user defined</a><br />
  88. <a class='exampleLink' href="examples/network/layout/hierarchicalLayoutWithoutPhysics.html">hierarchical layout - without physics</a><br />
  89. <a class='exampleLink' href="examples/network/layout/randomSeed.html">set the random seed so every network will be the same</a><br />
  90. <h3>events</h3>
  91. <a class='exampleLink' href="examples/network/events/interactionEvents.html">interaction events, click, rightclick, drag etc.</a><br />
  92. <a class='exampleLink' href="examples/network/events/physicsEvents.html">physics events, stabilization etc.</a><br />
  93. <a class='exampleLink' href="examples/network/events/renderEvents.html">rendering events, use to draw custom items on the canvas.</a><br />
  94. <h3>dynamic data</h3>
  95. <a class='exampleLink' href="examples/network/data/datasets.html">dataset for dynamic data</a><br />
  96. <a class='exampleLink' href="examples/network/data/dynamicData.html">dynamic data, playground</a><br />
  97. <a class='exampleLink' href="examples/network/data/importingFromGephi.html">importing data from gephi</a><br />
  98. <a class='exampleLink' href="examples/network/data/scalingCustom.html">scaling the nodes with the value.</a><br />
  99. <a class='exampleLink' href="examples/network/data/scalingNodesEdges.html">scaling the nodes and edges with the value.</a><br />
  100. <a class='exampleLink' href="examples/network/data/scalingNodesEdgesLabels.html">scaling the nodes, edges and labels with the value.</a><br />
  101. <h3>dynamic configuration interface</h3>
  102. <a class='exampleLink' href="examples/network/other/configuration.html">dynamic configuration</a><br />
  103. <h3>data manipulation interface</h3>
  104. <a class='exampleLink' href="examples/network/other/manipulation.html">manipulation interface and localization</a><br />
  105. <h3>clustering</h3>
  106. <a class='exampleLink' href="examples/network/other/clustering.html">clustering possibilities</a><br />
  107. <a class='exampleLink' href="examples/network/other/clusteringByZoom.html">clustering by zoom</a><br />
  108. <h3>physics</h3>
  109. <a class='exampleLink' href="examples/network/physics/physicsConfiguration.html">physics configuration</a><br />
  110. <h3>animation</h3>
  111. <a class='exampleLink' href="examples/network/other/animationShowcase.html">animation showcase</a><br />
  112. <h3>navigation buttons</h3>
  113. <a class='exampleLink' href="examples/network/other/navigation.html">navigation buttons and keyboard shortcuts</a><br />
  114. <h3>example applications</h3>
  115. <a class='exampleLink' href="examples/network/exampleApplications/disassemblerExample.html">disassembler example</a><br />
  116. <a class='exampleLink' href="examples/network/exampleApplications/lesMiserables.html">les miserables cast</a><br />
  117. <a class='exampleLink' href="examples/network/exampleApplications/loadingBar.html">loading bar during stabilization</a><br />
  118. <a class='exampleLink' href="examples/network/exampleApplications/neighbourhoodHighlight.html">neighbourhood heighlight</a><br />
  119. <a class='exampleLink' href="examples/network/exampleApplications/nodeLegend.html">using nodes as a legend</a><br />
  120. <a class='exampleLink' href="examples/network/exampleApplications/worldCupPerformance.html">performance test with the worldcup data</a><br />
  121. <a class='exampleLink' href="examples/network/other/performance.html">performance test with scale free network</a><br />
  122. </div>
  123. <br />
  124. <br />
  125. <br />
  126. <br />
  127. </div>
  128. <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
  129. <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
  130. <!-- Include all compiled plugins (below), or include individual files as needed -->
  131. <script src="js/bootstrap.min.js"></script>
  132. </body>
  133. </html>