Website for visualizing a persons github network.
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.

43 lines
975 B

  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>Title</title>
  6. <style type="text/css">
  7. body {
  8. font: 10pt arial;
  9. }
  10. #myGraph {
  11. width: 800px;
  12. height: 800px;
  13. border: 1px solid lightgray;
  14. background-color:#333333;
  15. }
  16. </style>
  17. <script
  18. src="https://code.jquery.com/jquery-3.3.1.min.js"
  19. integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8="
  20. crossorigin="anonymous">
  21. </script>
  22. <script src="js/githubAPI.js"></script>
  23. <script src="js/friendsGraph.js"></script>
  24. <script type="text/javascript" src="js/vis/vis.js"></script>
  25. <link href="js/vis/vis-network.min.css" rel="stylesheet" type="text/css" />
  26. </head>
  27. <body>
  28. <h2 id="graphLabel"></h2>
  29. <div id="myGraph" style="width:100%"></div>
  30. <script>
  31. createFriendsGraph("jrtechs", "myGraph", "graphLabel");
  32. </script>
  33. </body>
  34. </html>