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.

147 lines
9.2 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. <style>
  23. a.exampleLink:before {
  24. content:'';
  25. display:inline-block;
  26. margin-left:15px;
  27. width: 15px;
  28. height: 10px;
  29. border-top: 5px solid transparent;
  30. border-bottom: 5px solid transparent;
  31. border-left: 5px solid #688fba;
  32. }
  33. a.exampleLink {
  34. display:block;
  35. text-decoration: underline;
  36. }
  37. </style>
  38. </head>
  39. <body onload="prettyPrint(); loadVis();">
  40. <div class="navbar-wrapper">
  41. <div class="container">
  42. <nav class="navbar navbar-inverse navbar-static-top" role="navigation">
  43. <div class="container">
  44. <div class="navbar-header">
  45. <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
  46. <span class="sr-only">Toggle navigation</span>
  47. <span class="icon-bar"></span>
  48. <span class="icon-bar"></span>
  49. <span class="icon-bar"></span>
  50. </button>
  51. <a class="navbar-brand hidden-sm" href="./index.html">vis.js</a>
  52. </div>
  53. <div id="navbar" class="navbar-collapse collapse">
  54. <ul class="nav navbar-nav">
  55. <li class="active"><a href="./index.html#modules">Modules</a></li>
  56. <li><a href="./docs/index.html" target="_blank">Documentation <img class="icon" src="./images/external-link-icons/external-link-icon-white.png"></a></li>
  57. <li><a href="./blog.html">Blog</a></li>
  58. <li><a href="./index.html#download_install">Download</a></li>
  59. <li><a href="./showcase/index.html">Showcase</a></li>
  60. <li><a href="./index.html#contribute">Contribute</a></li>
  61. <li><a href="./featureRequests.html">Feature requests</a></li>
  62. <li><a href="./index.html#licenses">License</a></li>
  63. </ul>
  64. </div>
  65. </div>
  66. </nav>
  67. </div>
  68. </div>
  69. <div class="contentWrapper">
  70. <h1>Network Examples</h1>
  71. We have seperated the examples into groups to make it easier to navigate them. For the documentation, please click the button below: <br><br>
  72. <a class="btn btn-primary" href="./docs/network.html" role="button">View docs »</a>
  73. <h3>node styles</h3>
  74. <a class='exampleLink' href="examples/network/nodeStyles/colors.html">colors</a>
  75. <a class='exampleLink' href="examples/network/nodeStyles/groups.html">groups</a>
  76. <a class='exampleLink' href="examples/network/nodeStyles/customGroups.html">custom groups</a>
  77. <a class='exampleLink' href="examples/network/nodeStyles/HTML_in_Nodes.html">HTML in nodes</a>
  78. <a class='exampleLink' href="examples/network/nodeStyles/icons.html">icons (Fontawesome and Ionicons)</a>
  79. <a class='exampleLink' href="examples/network/nodeStyles/images.html">images</a>
  80. <a class='exampleLink' href="examples/network/nodeStyles/circular_images.html">circular images</a>
  81. <a class='exampleLink' href="examples/network/nodeStyles/shadows.html">node shadows</a>
  82. <a class='exampleLink' href="examples/network/nodeStyles/shapes.html">node shapes</a>
  83. <h3>edge styles</h3>
  84. <a class='exampleLink' href="examples/network/edgeStyles/arrows.html">arrows (also combined with dashes)</a>
  85. <a class='exampleLink' href="examples/network/edgeStyles/colors.html">different colors</a>
  86. <a class='exampleLink' href="examples/network/edgeStyles/dashes.html">dashes</a>
  87. <a class='exampleLink' href="examples/network/edgeStyles/smooth.html">smooth curves</a>
  88. <a class='exampleLink' href="examples/network/edgeStyles/smoothWorldCup.html">smooth curves in action</a>
  89. <h3>labels</h3>
  90. <a class='exampleLink' href="examples/network/labels/label_alignment.html">label alignment (for edges only)</a>
  91. <a class='exampleLink' href="examples/network/labels/label_background.html">label background</a>
  92. <a class='exampleLink' href="examples/network/labels/label_color_and_size.html">colors and sizes</a>
  93. <a class='exampleLink' href="examples/network/labels/label_stroke.html">label stroke</a>
  94. <a class='exampleLink' href="examples/network/labels/multiline_text.html">multiline text</a>
  95. <h3>layout</h3>
  96. <a class='exampleLink' href="examples/network/layout/hierarchical_layout.html">hierarchical layout</a>
  97. <a class='exampleLink' href="examples/network/layout/hierarchical_layout_methods.html">hierarchical layout - different methods</a>
  98. <a class='exampleLink' href="examples/network/layout/hierarchical_layout_userdefined.html">hierarchical layout - user defined</a>
  99. <a class='exampleLink' href="examples/network/layout/randomSeed.html">set the random seed so every network will be the same</a>
  100. <h3>events</h3>
  101. <a class='exampleLink' href="examples/network/events/interactionEvents.html">interaction events, click, rightclick, drag etc.</a>
  102. <a class='exampleLink' href="examples/network/events/physicsEvents.html">physics events, stabilization etc.</a>
  103. <a class='exampleLink' href="examples/network/events/renderEvents.html">rendering events, use to draw custom items on the canvas.</a>
  104. <h3>dynamic data</h3>
  105. <a class='exampleLink' href="examples/network/data/datasets.html">dataset for dynamic data</a>
  106. <a class='exampleLink' href="examples/network/data/dynamic_data.html">dynamic data, playground</a>
  107. <a class='exampleLink' href="examples/network/data/importing_from_gephi.html">importing data from gephi</a>
  108. <a class='exampleLink' href="examples/network/data/scaling_custom.html">scaling the nodes with the value.</a>
  109. <a class='exampleLink' href="examples/network/data/scaling_nodes_edges.html">scaling the nodes and edges with the value.</a>
  110. <a class='exampleLink' href="examples/network/data/scaling_nodes_edges_labels.html">scaling the nodes, edges and labels with the value.</a>
  111. <h3>physics</h3>
  112. <a class='exampleLink' href="examples/network/physics/physicsConfiguration.html">physics configuration</a>
  113. <h3>example applications</h3>
  114. <a class='exampleLink' href="examples/network/exampleApplications/les_miserables.html">les miserables cast</a>
  115. <a class='exampleLink' href="examples/network/exampleApplications/loadingBar.html">loading bar during stabilization</a>
  116. <a class='exampleLink' href="examples/network/exampleApplications/neighbourhood_highlight.html">neighbourhood heighlight</a>
  117. <a class='exampleLink' href="examples/network/exampleApplications/nodeLegend.html">using nodes as a legend</a>
  118. <a class='exampleLink' href="examples/network/exampleApplications/worldCupPerformance.html">performance test with the worldcup data</a>
  119. <h3>other</h3>
  120. <a class='exampleLink' href="examples/network/other/animationShowcase.html">animation showcase</a>
  121. <a class='exampleLink' href="examples/network/other/clustering.html">clustering possibilities</a>
  122. <a class='exampleLink' href="examples/network/other/clusteringByZoom.html">clustering by zoom</a>
  123. <a class='exampleLink' href="examples/network/other/configuration.html">dynamic configuration</a>
  124. <a class='exampleLink' href="examples/network/other/manipulation.html">manipulation interface and localization</a>
  125. <a class='exampleLink' href="examples/network/other/navigation.html">navigation buttons and keyboard shortcuts</a>
  126. <a class='exampleLink' href="examples/network/other/performance.html">performance test with scale free network, customize the amount of nodes</a>
  127. </div>
  128. <br />
  129. <br />
  130. <br />
  131. <br />
  132. </div>
  133. <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
  134. <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
  135. <!-- Include all compiled plugins (below), or include individual files as needed -->
  136. <script src="js/bootstrap.min.js"></script>
  137. </body>
  138. </html>