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.

49 lines
1.1 KiB

5 years ago
5 years ago
5 years ago
5 years ago
  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 src="js/profileGen.js"></script>
  25. <script type="text/javascript" src="js/vis/vis.js"></script>
  26. <link href="js/vis/vis-network.min.css" rel="stylesheet" type="text/css" />
  27. </head>
  28. <body>
  29. <h2 id="graphLabel"></h2>
  30. <div id="myGraph" style="width:50%"></div>
  31. <div id="profileGen" style="width:50%"></div>
  32. <script>
  33. createFriendsGraph("jrtechs", "myGraph", "graphLabel");
  34. </script>
  35. <script>
  36. profileGen("jrtechs", "profileGen");
  37. </script>
  38. </body>
  39. </html>