155 lines
34 KiB
HTML
155 lines
34 KiB
HTML
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
|
|
<script src="lib/bindings/utils.js"></script>
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/vis-network/9.1.2/dist/dist/vis-network.min.css" integrity="sha512-WgxfT5LWjfszlPHXRmBWHkV2eceiWTOBvrKCNbdgDYTHrT2AeLCGbF4sZlZw3UMN3WtL0tGUoIAKsu8mllg/XA==" crossorigin="anonymous" referrerpolicy="no-referrer" />
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/vis-network/9.1.2/dist/vis-network.min.js" integrity="sha512-LnvoEWDFrqGHlHmDD2101OrLcbsfkrzoSpvtSQtxK3RMnRV0eOkhhBN2dXHKRrUU8p2DGRTk35n4O8nWSVe1mQ==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
|
|
|
|
|
|
<center>
|
|
<h1></h1>
|
|
</center>
|
|
|
|
<!-- <link rel="stylesheet" href="../node_modules/vis/dist/vis.min.css" type="text/css" />
|
|
<script type="text/javascript" src="../node_modules/vis/dist/vis.js"> </script>-->
|
|
<link
|
|
href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta3/dist/css/bootstrap.min.css"
|
|
rel="stylesheet"
|
|
integrity="sha384-eOJMYsd53ii+scO/bJGFsiCZc+5NDVN2yr8+0RDqr0Ql0h+rP48ckxlpbzKgwra6"
|
|
crossorigin="anonymous"
|
|
/>
|
|
<script
|
|
src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta3/dist/js/bootstrap.bundle.min.js"
|
|
integrity="sha384-JEW9xMcG8R+pH31jmWH6WWP0WintQrMb4s7ZOdauHnUtxwoG2vI5DkLtS3qm9Ekf"
|
|
crossorigin="anonymous"
|
|
></script>
|
|
|
|
|
|
<center>
|
|
<h1></h1>
|
|
</center>
|
|
<style type="text/css">
|
|
|
|
#mynetwork {
|
|
width: 100%;
|
|
height: 800px;
|
|
background-color: #ffffff;
|
|
border: 1px solid lightgray;
|
|
position: relative;
|
|
float: left;
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</style>
|
|
</head>
|
|
|
|
|
|
<body>
|
|
<div class="card" style="width: 100%">
|
|
|
|
|
|
<div id="mynetwork" class="card-body"></div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
// initialize global variables.
|
|
var edges;
|
|
var nodes;
|
|
var allNodes;
|
|
var allEdges;
|
|
var nodeColors;
|
|
var originalNodes;
|
|
var network;
|
|
var container;
|
|
var options, data;
|
|
var filter = {
|
|
item : '',
|
|
property : '',
|
|
value : []
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
// This method is responsible for drawing the graph, returns the drawn network
|
|
function drawGraph() {
|
|
var container = document.getElementById('mynetwork');
|
|
|
|
|
|
|
|
// parsing and collecting nodes and edges from the python
|
|
nodes = new vis.DataSet([{"color": "#97c2fc", "id": "https://openalex.org/A5048378279", "label": "Songwei Fu", "shape": "dot", "title": "https://openalex.org/A5048378279"}, {"color": "#97c2fc", "id": "https://openalex.org/A5073284900", "label": "Stephan N. Wagner", "shape": "dot", "title": "https://openalex.org/A5073284900"}, {"color": "#97c2fc", "id": "https://openalex.org/A5123249083", "label": "Lukas Laaser", "shape": "dot", "title": "https://openalex.org/A5123249083"}, {"color": "#97c2fc", "id": "https://openalex.org/A5093479876", "label": "Carlos Medina-S\u00e1nchez", "shape": "dot", "title": "https://openalex.org/A5093479876"}, {"color": "#97c2fc", "id": "https://openalex.org/A5056682668", "label": "Ngewi Fet", "shape": "dot", "title": "https://openalex.org/A5056682668"}, {"color": "#97c2fc", "id": "https://openalex.org/A5008118306", "label": "Daniel Minder", "shape": "dot", "title": "https://openalex.org/A5008118306"}, {"color": "#97c2fc", "id": "https://openalex.org/A5103166478", "label": "Lisa Kraus", "shape": "dot", "title": "https://openalex.org/A5103166478"}, {"color": "#97c2fc", "id": "https://openalex.org/A5116665364", "label": "Lisa Drees", "shape": "dot", "title": "https://openalex.org/A5116665364"}, {"color": "#97c2fc", "id": "https://openalex.org/A5006157211", "label": "Merlin Stampa", "shape": "dot", "title": "https://openalex.org/A5006157211"}, {"color": "#97c2fc", "id": "https://openalex.org/A5093075883", "label": "Arman Arzani", "shape": "dot", "title": "https://openalex.org/A5093075883"}, {"color": "#97c2fc", "id": "https://openalex.org/A5060506175", "label": "Markus Packeiser", "shape": "dot", "title": "https://openalex.org/A5060506175"}, {"color": "#97c2fc", "id": "https://openalex.org/A5036361383", "label": "Sascha Jungen", "shape": "dot", "title": "https://openalex.org/A5036361383"}, {"color": "#97c2fc", "id": "https://openalex.org/A5109893863", "label": "Chia-Yen Shih", "shape": "dot", "title": "https://openalex.org/A5109893863"}, {"color": "#97c2fc", "id": "https://openalex.org/A5002846912", "label": "Jutta Geldermann", "shape": "dot", "title": "https://openalex.org/A5002846912"}, {"color": "#97c2fc", "id": "https://openalex.org/A5075818640", "label": "Sayedsepehr Mosavat", "shape": "dot", "title": "https://openalex.org/A5075818640"}, {"color": "#97c2fc", "id": "https://openalex.org/A5116665382", "label": "Elvira Domracev", "shape": "dot", "title": "https://openalex.org/A5116665382"}, {"color": "#97c2fc", "id": "https://openalex.org/A5050978098", "label": "Ramin Soleymani-Fard", "shape": "dot", "title": "https://openalex.org/A5050978098"}, {"color": "#97c2fc", "id": "https://openalex.org/A5028883355", "label": "Tim Meurer", "shape": "dot", "title": "https://openalex.org/A5028883355"}, {"color": "#97c2fc", "id": "https://openalex.org/A5046689115", "label": "Oliver J. Schmitz", "shape": "dot", "title": "https://openalex.org/A5046689115"}, {"color": "#97c2fc", "id": "https://openalex.org/A5010948349", "label": "Matteo Zella", "shape": "dot", "title": "https://openalex.org/A5010948349"}, {"color": "#97c2fc", "id": "https://openalex.org/A5060238992", "label": "Falk Brockmann", "shape": "dot", "title": "https://openalex.org/A5060238992"}, {"color": "#97c2fc", "id": "https://openalex.org/A5028309373", "label": "Xintao Huan", "shape": "dot", "title": "https://openalex.org/A5028309373"}, {"color": "#97c2fc", "id": "https://openalex.org/A5081341410", "label": "Richard Figura", "shape": "dot", "title": "https://openalex.org/A5081341410"}, {"color": "#97c2fc", "id": "https://openalex.org/A5021113981", "label": "Sebastian Willen", "shape": "dot", "title": "https://openalex.org/A5021113981"}, {"color": "#97c2fc", "id": "https://openalex.org/A5043003480", "label": "Robert Sauter", "shape": "dot", "title": "https://openalex.org/A5043003480"}, {"color": "#97c2fc", "id": "https://openalex.org/A5109882125", "label": "Matteo Ceriotti", "shape": "dot", "title": "https://openalex.org/A5109882125"}, {"color": "#97c2fc", "id": "https://openalex.org/A5073055164", "label": "Heike Proff", "shape": "dot", "title": "https://openalex.org/A5073055164"}, {"color": "#97c2fc", "id": "https://openalex.org/A5043034757", "label": "Tobias Hagemeier", "shape": "dot", "title": "https://openalex.org/A5043034757"}, {"color": "#97c2fc", "id": "https://openalex.org/A5058997869", "label": "Arno Wacker", "shape": "dot", "title": "https://openalex.org/A5058997869"}, {"color": "#97c2fc", "id": "https://openalex.org/A5020865484", "label": "Stephan Wagner", "shape": "dot", "title": "https://openalex.org/A5020865484"}, {"color": "#97c2fc", "id": "https://openalex.org/A5051125712", "label": "Bijan Shahbaz Nejad", "shape": "dot", "title": "https://openalex.org/A5051125712"}, {"color": "#97c2fc", "id": "https://openalex.org/A5082605313", "label": "Jes\u00fas Capit\u00e1n", "shape": "dot", "title": "https://openalex.org/A5082605313"}, {"color": "#97c2fc", "id": "https://openalex.org/A5014102657", "label": "Hugues Smeets", "shape": "dot", "title": "https://openalex.org/A5014102657"}, {"color": "#97c2fc", "id": "https://openalex.org/A5110447054", "label": "Chia Yen Shih", "shape": "dot", "title": "https://openalex.org/A5110447054"}, {"color": "#97c2fc", "id": "https://openalex.org/A5046774011", "label": "Wolfgang Apolinarski", "shape": "dot", "title": "https://openalex.org/A5046774011"}, {"color": "#97c2fc", "id": "https://openalex.org/A5060225473", "label": "Leon A. Marold", "shape": "dot", "title": "https://openalex.org/A5060225473"}, {"color": "#97c2fc", "id": "https://openalex.org/A5083535368", "label": "Umer Iqbal", "shape": "dot", "title": "https://openalex.org/A5083535368"}, {"color": "#97c2fc", "id": "https://openalex.org/A5120172002", "label": "Theodor Vogl", "shape": "dot", "title": "https://openalex.org/A5120172002"}, {"color": "#97c2fc", "id": "https://openalex.org/A5092835087", "label": "Alexander Wedemeyer", "shape": "dot", "title": "https://openalex.org/A5092835087"}, {"color": "#97c2fc", "id": "https://openalex.org/A5007170803", "label": "Marcus Handte", "shape": "dot", "title": "https://openalex.org/A5007170803"}, {"color": "#97c2fc", "id": "https://openalex.org/A5116665383", "label": "Lisa Drees", "shape": "dot", "title": "https://openalex.org/A5116665383"}, {"color": "#97c2fc", "id": "https://openalex.org/A5102821008", "label": "J Ravier Robert", "shape": "dot", "title": "https://openalex.org/A5102821008"}, {"color": "#97c2fc", "id": "https://openalex.org/A5104133708", "label": "Muhammad Umar Iqbal", "shape": "dot", "title": "https://openalex.org/A5104133708"}, {"color": "#97c2fc", "id": "https://openalex.org/A5016035673", "label": "Peter Roch", "shape": "dot", "title": "https://openalex.org/A5016035673"}, {"color": "#97c2fc", "id": "https://openalex.org/A5048213587", "label": "Frederik Ahlemann", "shape": "dot", "title": "https://openalex.org/A5048213587"}, {"color": "#97c2fc", "id": "https://openalex.org/A5054449070", "label": "Ninja HeiBe", "shape": "dot", "title": "https://openalex.org/A5054449070"}, {"color": "#97c2fc", "id": "https://openalex.org/A5081295372", "label": "Marco Z\u00fa\u00f1iga", "shape": "dot", "title": "https://openalex.org/A5081295372"}, {"color": "#97c2fc", "id": "https://openalex.org/A5044472300", "label": "Simon Janzon", "shape": "dot", "title": "https://openalex.org/A5044472300"}, {"color": "#97c2fc", "id": "https://openalex.org/A5029405400", "label": "Lukas Zeymer", "shape": "dot", "title": "https://openalex.org/A5029405400"}, {"color": "#97c2fc", "id": "https://openalex.org/A5015749442", "label": "Pedram Golkar", "shape": "dot", "title": "https://openalex.org/A5015749442"}, {"color": "#97c2fc", "id": "https://openalex.org/A5028943371", "label": "Gregor Schiele", "shape": "dot", "title": "https://openalex.org/A5028943371"}, {"color": "#97c2fc", "id": "https://openalex.org/A5079989865", "label": "Alexander J. Golkowski", "shape": "dot", "title": "https://openalex.org/A5079989865"}, {"color": "#97c2fc", "id": "https://openalex.org/A5047117780", "label": "Pedro Jos\u00e9 Marr\u00f3n", "shape": "dot", "title": "https://openalex.org/A5047117780"}, {"color": "#97c2fc", "id": "https://openalex.org/A5061145480", "label": "Timo Leontaris", "shape": "dot", "title": "https://openalex.org/A5061145480"}, {"color": "#97c2fc", "id": "https://openalex.org/A5051145923", "label": "Eduardo Ferrera", "shape": "dot", "title": "https://openalex.org/A5051145923"}, {"color": "#97c2fc", "id": "https://openalex.org/A5081007619", "label": "Carlos S\u00e1nchez", "shape": "dot", "title": "https://openalex.org/A5081007619"}, {"color": "#97c2fc", "id": "https://openalex.org/A5049867847", "label": "Flavio Fabbri", "shape": "dot", "title": "https://openalex.org/A5049867847"}, {"color": "#97c2fc", "id": "https://openalex.org/A5090902031", "label": "Ramin Soleymani", "shape": "dot", "title": "https://openalex.org/A5090902031"}, {"color": "#97c2fc", "id": "https://openalex.org/A5053654324", "label": "Valentin Fitz", "shape": "dot", "title": "https://openalex.org/A5053654324"}, {"color": "#97c2fc", "id": "https://openalex.org/A5115520791", "label": "Luca Husemann", "shape": "dot", "title": "https://openalex.org/A5115520791"}, {"color": "#97c2fc", "id": "https://openalex.org/A5113846892", "label": "Muhammad Umer Iqbal", "shape": "dot", "title": "https://openalex.org/A5113846892"}, {"color": "#97c2fc", "id": "https://openalex.org/A5010052126", "label": "Xuanjiao Zhu", "shape": "dot", "title": "https://openalex.org/A5010052126"}, {"color": "#97c2fc", "id": "https://openalex.org/A5034136834", "label": "Muhammad Haroon", "shape": "dot", "title": "https://openalex.org/A5034136834"}, {"color": "#97c2fc", "id": "https://openalex.org/A5033570971", "label": "Rasit Eskicioglu", "shape": "dot", "title": "https://openalex.org/A5033570971"}, {"color": "#97c2fc", "id": "https://openalex.org/A5111923369", "label": "Pedro Jose Marro", "shape": "dot", "title": "https://openalex.org/A5111923369"}]);
|
|
edges = new vis.DataSet([{"from": "https://openalex.org/A5048378279", "to": "https://openalex.org/A5047117780"}, {"from": "https://openalex.org/A5048378279", "to": "https://openalex.org/A5060506175"}, {"from": "https://openalex.org/A5048378279", "to": "https://openalex.org/A5109882125"}, {"from": "https://openalex.org/A5048378279", "to": "https://openalex.org/A5081341410"}, {"from": "https://openalex.org/A5048378279", "to": "https://openalex.org/A5090902031"}, {"from": "https://openalex.org/A5048378279", "to": "https://openalex.org/A5109893863"}, {"from": "https://openalex.org/A5048378279", "to": "https://openalex.org/A5028309373"}, {"from": "https://openalex.org/A5048378279", "to": "https://openalex.org/A5060238992"}, {"from": "https://openalex.org/A5048378279", "to": "https://openalex.org/A5082605313"}, {"from": "https://openalex.org/A5048378279", "to": "https://openalex.org/A5036361383"}, {"from": "https://openalex.org/A5073284900", "to": "https://openalex.org/A5007170803"}, {"from": "https://openalex.org/A5073284900", "to": "https://openalex.org/A5046774011"}, {"from": "https://openalex.org/A5073284900", "to": "https://openalex.org/A5047117780"}, {"from": "https://openalex.org/A5073284900", "to": "https://openalex.org/A5056682668"}, {"from": "https://openalex.org/A5073284900", "to": "https://openalex.org/A5113846892"}, {"from": "https://openalex.org/A5123249083", "to": "https://openalex.org/A5007170803"}, {"from": "https://openalex.org/A5123249083", "to": "https://openalex.org/A5016035673"}, {"from": "https://openalex.org/A5123249083", "to": "https://openalex.org/A5047117780"}, {"from": "https://openalex.org/A5123249083", "to": "https://openalex.org/A5051125712"}, {"from": "https://openalex.org/A5093479876", "to": "https://openalex.org/A5007170803"}, {"from": "https://openalex.org/A5093479876", "to": "https://openalex.org/A5044472300"}, {"from": "https://openalex.org/A5093479876", "to": "https://openalex.org/A5047117780"}, {"from": "https://openalex.org/A5093479876", "to": "https://openalex.org/A5079989865"}, {"from": "https://openalex.org/A5093479876", "to": "https://openalex.org/A5010948349"}, {"from": "https://openalex.org/A5093479876", "to": "https://openalex.org/A5082605313"}, {"from": "https://openalex.org/A5056682668", "to": "https://openalex.org/A5007170803"}, {"from": "https://openalex.org/A5056682668", "to": "https://openalex.org/A5047117780"}, {"from": "https://openalex.org/A5056682668", "to": "https://openalex.org/A5113846892"}, {"from": "https://openalex.org/A5008118306", "to": "https://openalex.org/A5047117780"}, {"from": "https://openalex.org/A5008118306", "to": "https://openalex.org/A5007170803"}, {"from": "https://openalex.org/A5008118306", "to": "https://openalex.org/A5058997869"}, {"from": "https://openalex.org/A5103166478", "to": "https://openalex.org/A5007170803"}, {"from": "https://openalex.org/A5103166478", "to": "https://openalex.org/A5047117780"}, {"from": "https://openalex.org/A5103166478", "to": "https://openalex.org/A5073055164"}, {"from": "https://openalex.org/A5103166478", "to": "https://openalex.org/A5010948349"}, {"from": "https://openalex.org/A5103166478", "to": "https://openalex.org/A5029405400"}, {"from": "https://openalex.org/A5103166478", "to": "https://openalex.org/A5081341410"}, {"from": "https://openalex.org/A5116665364", "to": "https://openalex.org/A5007170803"}, {"from": "https://openalex.org/A5116665364", "to": "https://openalex.org/A5047117780"}, {"from": "https://openalex.org/A5116665364", "to": "https://openalex.org/A5073055164"}, {"from": "https://openalex.org/A5006157211", "to": "https://openalex.org/A5047117780"}, {"from": "https://openalex.org/A5006157211", "to": "https://openalex.org/A5051145923"}, {"from": "https://openalex.org/A5006157211", "to": "https://openalex.org/A5082605313"}, {"from": "https://openalex.org/A5093075883", "to": "https://openalex.org/A5007170803"}, {"from": "https://openalex.org/A5093075883", "to": "https://openalex.org/A5047117780"}, {"from": "https://openalex.org/A5093075883", "to": "https://openalex.org/A5010948349"}, {"from": "https://openalex.org/A5093075883", "to": "https://openalex.org/A5120172002"}, {"from": "https://openalex.org/A5060506175", "to": "https://openalex.org/A5047117780"}, {"from": "https://openalex.org/A5060506175", "to": "https://openalex.org/A5109882125"}, {"from": "https://openalex.org/A5036361383", "to": "https://openalex.org/A5043003480"}, {"from": "https://openalex.org/A5036361383", "to": "https://openalex.org/A5047117780"}, {"from": "https://openalex.org/A5036361383", "to": "https://openalex.org/A5081341410"}, {"from": "https://openalex.org/A5036361383", "to": "https://openalex.org/A5109882125"}, {"from": "https://openalex.org/A5036361383", "to": "https://openalex.org/A5109893863"}, {"from": "https://openalex.org/A5036361383", "to": "https://openalex.org/A5007170803"}, {"from": "https://openalex.org/A5036361383", "to": "https://openalex.org/A5060238992"}, {"from": "https://openalex.org/A5036361383", "to": "https://openalex.org/A5110447054"}, {"from": "https://openalex.org/A5036361383", "to": "https://openalex.org/A5053654324"}, {"from": "https://openalex.org/A5036361383", "to": "https://openalex.org/A5079989865"}, {"from": "https://openalex.org/A5036361383", "to": "https://openalex.org/A5051145923"}, {"from": "https://openalex.org/A5036361383", "to": "https://openalex.org/A5054449070"}, {"from": "https://openalex.org/A5036361383", "to": "https://openalex.org/A5082605313"}, {"from": "https://openalex.org/A5109893863", "to": "https://openalex.org/A5047117780"}, {"from": "https://openalex.org/A5109893863", "to": "https://openalex.org/A5014102657"}, {"from": "https://openalex.org/A5109893863", "to": "https://openalex.org/A5028883355"}, {"from": "https://openalex.org/A5109893863", "to": "https://openalex.org/A5081341410"}, {"from": "https://openalex.org/A5109893863", "to": "https://openalex.org/A5090902031"}, {"from": "https://openalex.org/A5109893863", "to": "https://openalex.org/A5050978098"}, {"from": "https://openalex.org/A5109893863", "to": "https://openalex.org/A5028309373"}, {"from": "https://openalex.org/A5109893863", "to": "https://openalex.org/A5109882125"}, {"from": "https://openalex.org/A5109893863", "to": "https://openalex.org/A5060238992"}, {"from": "https://openalex.org/A5109893863", "to": "https://openalex.org/A5082605313"}, {"from": "https://openalex.org/A5109893863", "to": "https://openalex.org/A5043034757"}, {"from": "https://openalex.org/A5109893863", "to": "https://openalex.org/A5081295372"}, {"from": "https://openalex.org/A5002846912", "to": "https://openalex.org/A5047117780"}, {"from": "https://openalex.org/A5002846912", "to": "https://openalex.org/A5048213587"}, {"from": "https://openalex.org/A5075818640", "to": "https://openalex.org/A5010948349"}, {"from": "https://openalex.org/A5075818640", "to": "https://openalex.org/A5047117780"}, {"from": "https://openalex.org/A5075818640", "to": "https://openalex.org/A5007170803"}, {"from": "https://openalex.org/A5075818640", "to": "https://openalex.org/A5079989865"}, {"from": "https://openalex.org/A5075818640", "to": "https://openalex.org/A5015749442"}, {"from": "https://openalex.org/A5116665382", "to": "https://openalex.org/A5007170803"}, {"from": "https://openalex.org/A5116665382", "to": "https://openalex.org/A5021113981"}, {"from": "https://openalex.org/A5116665382", "to": "https://openalex.org/A5047117780"}, {"from": "https://openalex.org/A5116665382", "to": "https://openalex.org/A5061145480"}, {"from": "https://openalex.org/A5116665382", "to": "https://openalex.org/A5073055164"}, {"from": "https://openalex.org/A5116665382", "to": "https://openalex.org/A5115520791"}, {"from": "https://openalex.org/A5116665382", "to": "https://openalex.org/A5116665383"}, {"from": "https://openalex.org/A5050978098", "to": "https://openalex.org/A5047117780"}, {"from": "https://openalex.org/A5028883355", "to": "https://openalex.org/A5014102657"}, {"from": "https://openalex.org/A5028883355", "to": "https://openalex.org/A5047117780"}, {"from": "https://openalex.org/A5046689115", "to": "https://openalex.org/A5043034757"}, {"from": "https://openalex.org/A5046689115", "to": "https://openalex.org/A5047117780"}, {"from": "https://openalex.org/A5046689115", "to": "https://openalex.org/A5060238992"}, {"from": "https://openalex.org/A5046689115", "to": "https://openalex.org/A5081341410"}, {"from": "https://openalex.org/A5046689115", "to": "https://openalex.org/A5109882125"}, {"from": "https://openalex.org/A5010948349", "to": "https://openalex.org/A5007170803"}, {"from": "https://openalex.org/A5010948349", "to": "https://openalex.org/A5047117780"}, {"from": "https://openalex.org/A5010948349", "to": "https://openalex.org/A5073055164"}, {"from": "https://openalex.org/A5010948349", "to": "https://openalex.org/A5079989865"}, {"from": "https://openalex.org/A5010948349", "to": "https://openalex.org/A5081341410"}, {"from": "https://openalex.org/A5010948349", "to": "https://openalex.org/A5081007619"}, {"from": "https://openalex.org/A5010948349", "to": "https://openalex.org/A5082605313"}, {"from": "https://openalex.org/A5010948349", "to": "https://openalex.org/A5044472300"}, {"from": "https://openalex.org/A5010948349", "to": "https://openalex.org/A5015749442"}, {"from": "https://openalex.org/A5060238992", "to": "https://openalex.org/A5007170803"}, {"from": "https://openalex.org/A5060238992", "to": "https://openalex.org/A5047117780"}, {"from": "https://openalex.org/A5060238992", "to": "https://openalex.org/A5081341410"}, {"from": "https://openalex.org/A5060238992", "to": "https://openalex.org/A5043034757"}, {"from": "https://openalex.org/A5060238992", "to": "https://openalex.org/A5109882125"}, {"from": "https://openalex.org/A5060238992", "to": "https://openalex.org/A5082605313"}, {"from": "https://openalex.org/A5060238992", "to": "https://openalex.org/A5110447054"}, {"from": "https://openalex.org/A5028309373", "to": "https://openalex.org/A5047117780"}, {"from": "https://openalex.org/A5028309373", "to": "https://openalex.org/A5109882125"}, {"from": "https://openalex.org/A5081341410", "to": "https://openalex.org/A5007170803"}, {"from": "https://openalex.org/A5081341410", "to": "https://openalex.org/A5047117780"}, {"from": "https://openalex.org/A5081341410", "to": "https://openalex.org/A5043003480"}, {"from": "https://openalex.org/A5081341410", "to": "https://openalex.org/A5043034757"}, {"from": "https://openalex.org/A5081341410", "to": "https://openalex.org/A5109882125"}, {"from": "https://openalex.org/A5081341410", "to": "https://openalex.org/A5090902031"}, {"from": "https://openalex.org/A5081341410", "to": "https://openalex.org/A5082605313"}, {"from": "https://openalex.org/A5081341410", "to": "https://openalex.org/A5073055164"}, {"from": "https://openalex.org/A5021113981", "to": "https://openalex.org/A5007170803"}, {"from": "https://openalex.org/A5021113981", "to": "https://openalex.org/A5047117780"}, {"from": "https://openalex.org/A5021113981", "to": "https://openalex.org/A5061145480"}, {"from": "https://openalex.org/A5021113981", "to": "https://openalex.org/A5073055164"}, {"from": "https://openalex.org/A5021113981", "to": "https://openalex.org/A5115520791"}, {"from": "https://openalex.org/A5021113981", "to": "https://openalex.org/A5116665383"}, {"from": "https://openalex.org/A5043003480", "to": "https://openalex.org/A5047117780"}, {"from": "https://openalex.org/A5109882125", "to": "https://openalex.org/A5047117780"}, {"from": "https://openalex.org/A5109882125", "to": "https://openalex.org/A5043034757"}, {"from": "https://openalex.org/A5109882125", "to": "https://openalex.org/A5082605313"}, {"from": "https://openalex.org/A5109882125", "to": "https://openalex.org/A5014102657"}, {"from": "https://openalex.org/A5109882125", "to": "https://openalex.org/A5051145923"}, {"from": "https://openalex.org/A5109882125", "to": "https://openalex.org/A5053654324"}, {"from": "https://openalex.org/A5109882125", "to": "https://openalex.org/A5079989865"}, {"from": "https://openalex.org/A5109882125", "to": "https://openalex.org/A5054449070"}, {"from": "https://openalex.org/A5073055164", "to": "https://openalex.org/A5007170803"}, {"from": "https://openalex.org/A5073055164", "to": "https://openalex.org/A5047117780"}, {"from": "https://openalex.org/A5073055164", "to": "https://openalex.org/A5061145480"}, {"from": "https://openalex.org/A5073055164", "to": "https://openalex.org/A5115520791"}, {"from": "https://openalex.org/A5073055164", "to": "https://openalex.org/A5116665383"}, {"from": "https://openalex.org/A5043034757", "to": "https://openalex.org/A5047117780"}, {"from": "https://openalex.org/A5043034757", "to": "https://openalex.org/A5014102657"}, {"from": "https://openalex.org/A5043034757", "to": "https://openalex.org/A5081295372"}, {"from": "https://openalex.org/A5058997869", "to": "https://openalex.org/A5047117780"}, {"from": "https://openalex.org/A5020865484", "to": "https://openalex.org/A5007170803"}, {"from": "https://openalex.org/A5020865484", "to": "https://openalex.org/A5046774011"}, {"from": "https://openalex.org/A5020865484", "to": "https://openalex.org/A5047117780"}, {"from": "https://openalex.org/A5020865484", "to": "https://openalex.org/A5083535368"}, {"from": "https://openalex.org/A5020865484", "to": "https://openalex.org/A5081295372"}, {"from": "https://openalex.org/A5051125712", "to": "https://openalex.org/A5007170803"}, {"from": "https://openalex.org/A5051125712", "to": "https://openalex.org/A5016035673"}, {"from": "https://openalex.org/A5051125712", "to": "https://openalex.org/A5047117780"}, {"from": "https://openalex.org/A5082605313", "to": "https://openalex.org/A5047117780"}, {"from": "https://openalex.org/A5082605313", "to": "https://openalex.org/A5051145923"}, {"from": "https://openalex.org/A5082605313", "to": "https://openalex.org/A5081007619"}, {"from": "https://openalex.org/A5082605313", "to": "https://openalex.org/A5054449070"}, {"from": "https://openalex.org/A5082605313", "to": "https://openalex.org/A5044472300"}, {"from": "https://openalex.org/A5014102657", "to": "https://openalex.org/A5047117780"}, {"from": "https://openalex.org/A5014102657", "to": "https://openalex.org/A5081295372"}, {"from": "https://openalex.org/A5014102657", "to": "https://openalex.org/A5051145923"}, {"from": "https://openalex.org/A5110447054", "to": "https://openalex.org/A5007170803"}, {"from": "https://openalex.org/A5110447054", "to": "https://openalex.org/A5047117780"}, {"from": "https://openalex.org/A5046774011", "to": "https://openalex.org/A5007170803"}, {"from": "https://openalex.org/A5046774011", "to": "https://openalex.org/A5047117780"}, {"from": "https://openalex.org/A5046774011", "to": "https://openalex.org/A5083535368"}, {"from": "https://openalex.org/A5046774011", "to": "https://openalex.org/A5113846892"}, {"from": "https://openalex.org/A5046774011", "to": "https://openalex.org/A5104133708"}, {"from": "https://openalex.org/A5060225473", "to": "https://openalex.org/A5007170803"}, {"from": "https://openalex.org/A5060225473", "to": "https://openalex.org/A5047117780"}, {"from": "https://openalex.org/A5060225473", "to": "https://openalex.org/A5079989865"}, {"from": "https://openalex.org/A5083535368", "to": "https://openalex.org/A5007170803"}, {"from": "https://openalex.org/A5083535368", "to": "https://openalex.org/A5047117780"}, {"from": "https://openalex.org/A5120172002", "to": "https://openalex.org/A5007170803"}, {"from": "https://openalex.org/A5120172002", "to": "https://openalex.org/A5047117780"}, {"from": "https://openalex.org/A5092835087", "to": "https://openalex.org/A5007170803"}, {"from": "https://openalex.org/A5092835087", "to": "https://openalex.org/A5047117780"}, {"from": "https://openalex.org/A5092835087", "to": "https://openalex.org/A5079989865"}, {"from": "https://openalex.org/A5092835087", "to": "https://openalex.org/A5102821008"}, {"from": "https://openalex.org/A5007170803", "to": "https://openalex.org/A5047117780"}, {"from": "https://openalex.org/A5007170803", "to": "https://openalex.org/A5061145480"}, {"from": "https://openalex.org/A5007170803", "to": "https://openalex.org/A5115520791"}, {"from": "https://openalex.org/A5007170803", "to": "https://openalex.org/A5116665383"}, {"from": "https://openalex.org/A5007170803", "to": "https://openalex.org/A5016035673"}, {"from": "https://openalex.org/A5007170803", "to": "https://openalex.org/A5028943371"}, {"from": "https://openalex.org/A5007170803", "to": "https://openalex.org/A5081295372"}, {"from": "https://openalex.org/A5007170803", "to": "https://openalex.org/A5079989865"}, {"from": "https://openalex.org/A5007170803", "to": "https://openalex.org/A5113846892"}, {"from": "https://openalex.org/A5007170803", "to": "https://openalex.org/A5029405400"}, {"from": "https://openalex.org/A5007170803", "to": "https://openalex.org/A5044472300"}, {"from": "https://openalex.org/A5007170803", "to": "https://openalex.org/A5102821008"}, {"from": "https://openalex.org/A5007170803", "to": "https://openalex.org/A5104133708"}, {"from": "https://openalex.org/A5007170803", "to": "https://openalex.org/A5010052126"}, {"from": "https://openalex.org/A5007170803", "to": "https://openalex.org/A5033570971"}, {"from": "https://openalex.org/A5007170803", "to": "https://openalex.org/A5034136834"}, {"from": "https://openalex.org/A5007170803", "to": "https://openalex.org/A5111923369"}, {"from": "https://openalex.org/A5116665383", "to": "https://openalex.org/A5047117780"}, {"from": "https://openalex.org/A5116665383", "to": "https://openalex.org/A5061145480"}, {"from": "https://openalex.org/A5116665383", "to": "https://openalex.org/A5115520791"}, {"from": "https://openalex.org/A5102821008", "to": "https://openalex.org/A5047117780"}, {"from": "https://openalex.org/A5102821008", "to": "https://openalex.org/A5079989865"}, {"from": "https://openalex.org/A5104133708", "to": "https://openalex.org/A5047117780"}, {"from": "https://openalex.org/A5016035673", "to": "https://openalex.org/A5047117780"}, {"from": "https://openalex.org/A5016035673", "to": "https://openalex.org/A5079989865"}, {"from": "https://openalex.org/A5048213587", "to": "https://openalex.org/A5047117780"}, {"from": "https://openalex.org/A5054449070", "to": "https://openalex.org/A5047117780"}, {"from": "https://openalex.org/A5054449070", "to": "https://openalex.org/A5051145923"}, {"from": "https://openalex.org/A5081295372", "to": "https://openalex.org/A5047117780"}, {"from": "https://openalex.org/A5081295372", "to": "https://openalex.org/A5049867847"}, {"from": "https://openalex.org/A5044472300", "to": "https://openalex.org/A5047117780"}, {"from": "https://openalex.org/A5044472300", "to": "https://openalex.org/A5079989865"}, {"from": "https://openalex.org/A5044472300", "to": "https://openalex.org/A5081007619"}, {"from": "https://openalex.org/A5029405400", "to": "https://openalex.org/A5047117780"}, {"from": "https://openalex.org/A5015749442", "to": "https://openalex.org/A5047117780"}, {"from": "https://openalex.org/A5028943371", "to": "https://openalex.org/A5047117780"}, {"from": "https://openalex.org/A5079989865", "to": "https://openalex.org/A5047117780"}, {"from": "https://openalex.org/A5079989865", "to": "https://openalex.org/A5053654324"}, {"from": "https://openalex.org/A5047117780", "to": "https://openalex.org/A5061145480"}, {"from": "https://openalex.org/A5047117780", "to": "https://openalex.org/A5115520791"}, {"from": "https://openalex.org/A5047117780", "to": "https://openalex.org/A5049867847"}, {"from": "https://openalex.org/A5047117780", "to": "https://openalex.org/A5113846892"}, {"from": "https://openalex.org/A5047117780", "to": "https://openalex.org/A5090902031"}, {"from": "https://openalex.org/A5047117780", "to": "https://openalex.org/A5051145923"}, {"from": "https://openalex.org/A5047117780", "to": "https://openalex.org/A5081007619"}, {"from": "https://openalex.org/A5047117780", "to": "https://openalex.org/A5053654324"}, {"from": "https://openalex.org/A5061145480", "to": "https://openalex.org/A5115520791"}, {"from": "https://openalex.org/A5010052126", "to": "https://openalex.org/A5033570971"}, {"from": "https://openalex.org/A5034136834", "to": "https://openalex.org/A5111923369"}]);
|
|
|
|
nodeColors = {};
|
|
allNodes = nodes.get({ returnType: "Object" });
|
|
for (nodeId in allNodes) {
|
|
nodeColors[nodeId] = allNodes[nodeId].color;
|
|
}
|
|
allEdges = edges.get({ returnType: "Object" });
|
|
// adding nodes and edges to the graph
|
|
data = {nodes: nodes, edges: edges};
|
|
|
|
var options = {
|
|
"configure": {
|
|
"enabled": false
|
|
},
|
|
"edges": {
|
|
"color": {
|
|
"inherit": true
|
|
},
|
|
"smooth": {
|
|
"enabled": true,
|
|
"type": "dynamic"
|
|
}
|
|
},
|
|
"interaction": {
|
|
"dragNodes": true,
|
|
"hideEdgesOnDrag": false,
|
|
"hideNodesOnDrag": false
|
|
},
|
|
"physics": {
|
|
"enabled": true,
|
|
"stabilization": {
|
|
"enabled": true,
|
|
"fit": true,
|
|
"iterations": 1000,
|
|
"onlyDynamicEdges": false,
|
|
"updateInterval": 50
|
|
}
|
|
}
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
network = new vis.Network(container, data, options);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return network;
|
|
|
|
}
|
|
drawGraph();
|
|
</script>
|
|
</body>
|
|
</html> |