graph-test / graphrag_construct.html
dwb2023's picture
initial upload
cf9e939 verified
<html>
<head>
<meta charset="utf-8">
<script>function neighbourhoodHighlight(params) {
// console.log("in nieghbourhoodhighlight");
allNodes = nodes.get({ returnType: "Object" });
// originalNodes = JSON.parse(JSON.stringify(allNodes));
// if something is selected:
if (params.nodes.length > 0) {
highlightActive = true;
var i, j;
var selectedNode = params.nodes[0];
var degrees = 2;
// mark all nodes as hard to read.
for (let nodeId in allNodes) {
// nodeColors[nodeId] = allNodes[nodeId].color;
allNodes[nodeId].color = "rgba(200,200,200,0.5)";
if (allNodes[nodeId].hiddenLabel === undefined) {
allNodes[nodeId].hiddenLabel = allNodes[nodeId].label;
allNodes[nodeId].label = undefined;
}
}
var connectedNodes = network.getConnectedNodes(selectedNode);
var allConnectedNodes = [];
// get the second degree nodes
for (i = 1; i < degrees; i++) {
for (j = 0; j < connectedNodes.length; j++) {
allConnectedNodes = allConnectedNodes.concat(
network.getConnectedNodes(connectedNodes[j])
);
}
}
// all second degree nodes get a different color and their label back
for (i = 0; i < allConnectedNodes.length; i++) {
// allNodes[allConnectedNodes[i]].color = "pink";
allNodes[allConnectedNodes[i]].color = "rgba(150,150,150,0.75)";
if (allNodes[allConnectedNodes[i]].hiddenLabel !== undefined) {
allNodes[allConnectedNodes[i]].label =
allNodes[allConnectedNodes[i]].hiddenLabel;
allNodes[allConnectedNodes[i]].hiddenLabel = undefined;
}
}
// all first degree nodes get their own color and their label back
for (i = 0; i < connectedNodes.length; i++) {
// allNodes[connectedNodes[i]].color = undefined;
allNodes[connectedNodes[i]].color = nodeColors[connectedNodes[i]];
if (allNodes[connectedNodes[i]].hiddenLabel !== undefined) {
allNodes[connectedNodes[i]].label =
allNodes[connectedNodes[i]].hiddenLabel;
allNodes[connectedNodes[i]].hiddenLabel = undefined;
}
}
// the main node gets its own color and its label back.
// allNodes[selectedNode].color = undefined;
allNodes[selectedNode].color = nodeColors[selectedNode];
if (allNodes[selectedNode].hiddenLabel !== undefined) {
allNodes[selectedNode].label = allNodes[selectedNode].hiddenLabel;
allNodes[selectedNode].hiddenLabel = undefined;
}
} else if (highlightActive === true) {
// console.log("highlightActive was true");
// reset all nodes
for (let nodeId in allNodes) {
// allNodes[nodeId].color = "purple";
allNodes[nodeId].color = nodeColors[nodeId];
// delete allNodes[nodeId].color;
if (allNodes[nodeId].hiddenLabel !== undefined) {
allNodes[nodeId].label = allNodes[nodeId].hiddenLabel;
allNodes[nodeId].hiddenLabel = undefined;
}
}
highlightActive = false;
}
// transform the object into an array
var updateArray = [];
if (params.nodes.length > 0) {
for (let nodeId in allNodes) {
if (allNodes.hasOwnProperty(nodeId)) {
// console.log(allNodes[nodeId]);
updateArray.push(allNodes[nodeId]);
}
}
nodes.update(updateArray);
} else {
// console.log("Nothing was selected");
for (let nodeId in allNodes) {
if (allNodes.hasOwnProperty(nodeId)) {
// console.log(allNodes[nodeId]);
// allNodes[nodeId].color = {};
updateArray.push(allNodes[nodeId]);
}
}
nodes.update(updateArray);
}
}
function filterHighlight(params) {
allNodes = nodes.get({ returnType: "Object" });
// if something is selected:
if (params.nodes.length > 0) {
filterActive = true;
let selectedNodes = params.nodes;
// hiding all nodes and saving the label
for (let nodeId in allNodes) {
allNodes[nodeId].hidden = true;
if (allNodes[nodeId].savedLabel === undefined) {
allNodes[nodeId].savedLabel = allNodes[nodeId].label;
allNodes[nodeId].label = undefined;
}
}
for (let i=0; i < selectedNodes.length; i++) {
allNodes[selectedNodes[i]].hidden = false;
if (allNodes[selectedNodes[i]].savedLabel !== undefined) {
allNodes[selectedNodes[i]].label = allNodes[selectedNodes[i]].savedLabel;
allNodes[selectedNodes[i]].savedLabel = undefined;
}
}
} else if (filterActive === true) {
// reset all nodes
for (let nodeId in allNodes) {
allNodes[nodeId].hidden = false;
if (allNodes[nodeId].savedLabel !== undefined) {
allNodes[nodeId].label = allNodes[nodeId].savedLabel;
allNodes[nodeId].savedLabel = undefined;
}
}
filterActive = false;
}
// transform the object into an array
var updateArray = [];
if (params.nodes.length > 0) {
for (let nodeId in allNodes) {
if (allNodes.hasOwnProperty(nodeId)) {
updateArray.push(allNodes[nodeId]);
}
}
nodes.update(updateArray);
} else {
for (let nodeId in allNodes) {
if (allNodes.hasOwnProperty(nodeId)) {
updateArray.push(allNodes[nodeId]);
}
}
nodes.update(updateArray);
}
}
function selectNode(nodes) {
network.selectNodes(nodes);
neighbourhoodHighlight({ nodes: nodes });
return nodes;
}
function selectNodes(nodes) {
network.selectNodes(nodes);
filterHighlight({nodes: nodes});
return nodes;
}
function highlightFilter(filter) {
let selectedNodes = []
let selectedProp = filter['property']
if (filter['item'] === 'node') {
let allNodes = nodes.get({ returnType: "Object" });
for (let nodeId in allNodes) {
if (allNodes[nodeId][selectedProp] && filter['value'].includes((allNodes[nodeId][selectedProp]).toString())) {
selectedNodes.push(nodeId)
}
}
}
else if (filter['item'] === 'edge'){
let allEdges = edges.get({returnType: 'object'});
// check if the selected property exists for selected edge and select the nodes connected to the edge
for (let edge in allEdges) {
if (allEdges[edge][selectedProp] && filter['value'].includes((allEdges[edge][selectedProp]).toString())) {
selectedNodes.push(allEdges[edge]['from'])
selectedNodes.push(allEdges[edge]['to'])
}
}
}
selectNodes(selectedNodes)
}</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/[email protected]/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-eOJMYsd53ii+scO/bJGFsiCZc+5NDVN2yr8+0RDqr0Ql0h+rP48ckxlpbzKgwra6"
crossorigin="anonymous"
/>
<script
src="https://cdn.jsdelivr.net/npm/[email protected]/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: 750px;
background-color: #ffffff;
border: 1px solid lightgray;
position: relative;
float: left;
}
#loadingBar {
position:absolute;
top:0px;
left:0px;
width: 100%;
height: 750px;
background-color:rgba(200,200,200,0.8);
-webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-ms-transition: all 0.5s ease;
-o-transition: all 0.5s ease;
transition: all 0.5s ease;
opacity:1;
}
#bar {
position:absolute;
top:0px;
left:0px;
width:20px;
height:20px;
margin:auto auto auto auto;
border-radius:11px;
border:2px solid rgba(30,30,30,0.05);
background: rgb(0, 173, 246); /* Old browsers */
box-shadow: 2px 0px 4px rgba(0,0,0,0.4);
}
#border {
position:absolute;
top:10px;
left:10px;
width:500px;
height:23px;
margin:auto auto auto auto;
box-shadow: 0px 0px 4px rgba(0,0,0,0.2);
border-radius:10px;
}
#text {
position:absolute;
top:8px;
left:530px;
width:30px;
height:50px;
margin:auto auto auto auto;
font-size:22px;
color: #000000;
}
div.outerBorder {
position:relative;
top:400px;
width:600px;
height:44px;
margin:auto auto auto auto;
border:8px solid rgba(0,0,0,0.1);
background: rgb(252,252,252); /* Old browsers */
background: -moz-linear-gradient(top, rgba(252,252,252,1) 0%, rgba(237,237,237,1) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(252,252,252,1)), color-stop(100%,rgba(237,237,237,1))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, rgba(252,252,252,1) 0%,rgba(237,237,237,1) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, rgba(252,252,252,1) 0%,rgba(237,237,237,1) 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, rgba(252,252,252,1) 0%,rgba(237,237,237,1) 100%); /* IE10+ */
background: linear-gradient(to bottom, rgba(252,252,252,1) 0%,rgba(237,237,237,1) 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fcfcfc', endColorstr='#ededed',GradientType=0 ); /* IE6-9 */
border-radius:72px;
box-shadow: 0px 0px 10px rgba(0,0,0,0.2);
}
</style>
</head>
<body>
<div class="card" style="width: 100%">
<div id="mynetwork" class="card-body"></div>
</div>
<div id="loadingBar">
<div class="outerBorder">
<div id="text">0%</div>
<div id="border">
<div id="bar"></div>
</div>
</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": "hsla(72, 10%, 90%, 0.95)", "id": 0, "label": "confidence", "shape": "dot", "size": 0, "title": null}, {"color": "hsla(72, 10%, 90%, 0.95)", "id": 1, "label": "duty", "shape": "dot", "size": 0, "title": null}, {"color": "hsla(72, 10%, 90%, 0.95)", "id": 2, "label": "arrangements", "shape": "dot", "size": 0, "title": null}, {"color": "hsla(72, 10%, 90%, 0.95)", "id": 3, "label": "Island", "shape": "dot", "size": 0, "title": null}, {"color": "hsla(72, 10%, 90%, 0.95)", "id": 4, "label": "home", "shape": "dot", "size": 0, "title": null}, {"color": "hsla(72, 10%, 90%, 0.95)", "id": 5, "label": "storm", "shape": "dot", "size": 0, "title": null}, {"color": "hsl(65, 46%, 58%)", "id": 6, "label": "war", "shape": "dot", "size": 2, "title": "NP"}, {"color": "hsla(72, 10%, 90%, 0.95)", "id": 7, "label": "menace", "shape": "dot", "size": 0, "title": null}, {"color": "hsl(65, 46%, 58%)", "id": 8, "label": "tyranny", "shape": "dot", "size": 2, "title": "NP"}, {"color": "hsl(65, 46%, 58%)", "id": 9, "label": "years", "shape": "dot", "size": 2, "title": "NP"}, {"color": "hsla(72, 10%, 90%, 0.95)", "id": 10, "label": "rate", "shape": "dot", "size": 0, "title": null}, {"color": "hsla(72, 10%, 90%, 0.95)", "id": 11, "label": "resolve", "shape": "dot", "size": 0, "title": null}, {"color": "hsla(72, 10%, 90%, 0.95)", "id": 12, "label": "Majesty", "shape": "dot", "size": 0, "title": null}, {"color": "hsla(72, 10%, 90%, 0.95)", "id": 13, "label": "Government", "shape": "dot", "size": 0, "title": null}, {"color": "hsla(72, 10%, 90%, 0.95)", "id": 14, "label": "man", "shape": "dot", "size": 0, "title": null}, {"color": "hsla(72, 10%, 90%, 0.95)", "id": 15, "label": "will", "shape": "dot", "size": 0, "title": null}, {"color": "hsl(65, 46%, 58%)", "id": 16, "label": "Parliament", "shape": "dot", "size": 2, "title": "Organization"}, {"color": "hsla(72, 10%, 90%, 0.95)", "id": 17, "label": "nation", "shape": "dot", "size": 0, "title": null}, {"color": "hsla(72, 10%, 90%, 0.95)", "id": 18, "label": "British", "shape": "dot", "size": 0, "title": null}, {"color": "hsla(72, 10%, 90%, 0.95)", "id": 19, "label": "Empire", "shape": "dot", "size": 0, "title": null}, {"color": "hsla(72, 10%, 90%, 0.95)", "id": 20, "label": "French", "shape": "dot", "size": 0, "title": null}, {"color": "hsla(72, 10%, 90%, 0.95)", "id": 21, "label": "Republic", "shape": "dot", "size": 0, "title": null}, {"color": "hsla(72, 10%, 90%, 0.95)", "id": 22, "label": "cause", "shape": "dot", "size": 0, "title": null}, {"color": "hsla(72, 10%, 90%, 0.95)", "id": 23, "label": "need", "shape": "dot", "size": 0, "title": null}, {"color": "hsla(72, 10%, 90%, 0.95)", "id": 24, "label": "death", "shape": "dot", "size": 0, "title": null}, {"color": "hsla(72, 10%, 90%, 0.95)", "id": 25, "label": "soil", "shape": "dot", "size": 0, "title": null}, {"color": "hsla(72, 10%, 90%, 0.95)", "id": 26, "label": "comrades", "shape": "dot", "size": 0, "title": null}, {"color": "hsla(72, 10%, 90%, 0.95)", "id": 27, "label": "utmost", "shape": "dot", "size": 0, "title": null}, {"color": "hsla(72, 10%, 90%, 0.95)", "id": 28, "label": "strength", "shape": "dot", "size": 0, "title": null}, {"color": "hsla(72, 10%, 90%, 0.95)", "id": 29, "label": "tracts", "shape": "dot", "size": 0, "title": null}, {"color": "hsl(65, 46%, 58%)", "id": 30, "label": "Europe", "shape": "dot", "size": 2, "title": "NP"}, {"color": "hsla(72, 10%, 90%, 0.95)", "id": 31, "label": "States", "shape": "dot", "size": 0, "title": null}, {"color": "hsla(72, 10%, 90%, 0.95)", "id": 32, "label": "grip", "shape": "dot", "size": 0, "title": null}, {"color": "hsl(65, 46%, 58%)", "id": 33, "label": "Gestapo", "shape": "dot", "size": 3, "title": "Organization"}, {"color": "hsla(72, 10%, 90%, 0.95)", "id": 34, "label": "apparatus", "shape": "dot", "size": 0, "title": null}, {"color": "hsla(72, 10%, 90%, 0.95)", "id": 35, "label": "Nazi", "shape": "dot", "size": 0, "title": null}, {"color": "hsla(72, 10%, 90%, 0.95)", "id": 36, "label": "rule", "shape": "dot", "size": 0, "title": null}, {"color": "hsla(72, 10%, 90%, 0.95)", "id": 37, "label": "end", "shape": "dot", "size": 0, "title": null}, {"color": "hsl(65, 46%, 58%)", "id": 38, "label": "France", "shape": "dot", "size": 2, "title": "Country"}, {"color": "hsla(72, 10%, 90%, 0.95)", "id": 39, "label": "seas", "shape": "dot", "size": 0, "title": null}, {"color": "hsl(65, 46%, 58%)", "id": 40, "label": "oceans", "shape": "dot", "size": 3, "title": "NP"}, {"color": "hsla(72, 10%, 90%, 0.95)", "id": 41, "label": "air", "shape": "dot", "size": 0, "title": null}, {"color": "hsla(72, 10%, 90%, 0.95)", "id": 42, "label": "cost", "shape": "dot", "size": 0, "title": null}, {"color": "hsla(72, 10%, 90%, 0.95)", "id": 43, "label": "beaches", "shape": "dot", "size": 0, "title": null}, {"color": "hsla(72, 10%, 90%, 0.95)", "id": 44, "label": "landing", "shape": "dot", "size": 0, "title": null}, {"color": "hsla(72, 10%, 90%, 0.95)", "id": 45, "label": "grounds", "shape": "dot", "size": 0, "title": null}, {"color": "hsla(72, 10%, 90%, 0.95)", "id": 46, "label": "fields", "shape": "dot", "size": 0, "title": null}, {"color": "hsla(72, 10%, 90%, 0.95)", "id": 47, "label": "streets", "shape": "dot", "size": 0, "title": null}, {"color": "hsla(72, 10%, 90%, 0.95)", "id": 48, "label": "hills", "shape": "dot", "size": 0, "title": null}, {"color": "hsla(72, 10%, 90%, 0.95)", "id": 49, "label": "moment", "shape": "dot", "size": 0, "title": null}, {"color": "hsla(72, 10%, 90%, 0.95)", "id": 50, "label": "part", "shape": "dot", "size": 0, "title": null}, {"color": "hsla(72, 10%, 90%, 0.95)", "id": 51, "label": "Fleet", "shape": "dot", "size": 0, "title": null}, {"color": "hsla(72, 10%, 90%, 0.95)", "id": 52, "label": "struggle", "shape": "dot", "size": 0, "title": null}, {"color": "hsla(72, 10%, 90%, 0.95)", "id": 53, "label": "God", "shape": "dot", "size": 0, "title": null}, {"color": "hsla(72, 10%, 90%, 0.95)", "id": 54, "label": "time", "shape": "dot", "size": 0, "title": null}, {"color": "hsla(72, 10%, 90%, 0.95)", "id": 55, "label": "New", "shape": "dot", "size": 0, "title": null}, {"color": "hsla(72, 10%, 90%, 0.95)", "id": 56, "label": "World", "shape": "dot", "size": 0, "title": null}, {"color": "hsla(72, 10%, 90%, 0.95)", "id": 57, "label": "power", "shape": "dot", "size": 0, "title": null}, {"color": "hsl(65, 46%, 58%)", "id": 58, "label": "might", "shape": "dot", "size": 3, "title": "NP"}, {"color": "hsla(72, 10%, 90%, 0.95)", "id": 59, "label": "rescue", "shape": "dot", "size": 0, "title": null}, {"color": "hsla(72, 10%, 90%, 0.95)", "id": 60, "label": "liberation", "shape": "dot", "size": 0, "title": null}, {"color": "hsl(65, 46%, 58%)", "id": 61, "label": "British Empire", "shape": "dot", "size": 2, "title": "Organization"}, {"color": "hsl(65, 46%, 58%)", "id": 62, "label": "French Republic", "shape": "dot", "size": 2, "title": "Country"}, {"color": "hsl(65, 46%, 58%)", "id": 63, "label": "I", "shape": "dot", "size": 3, "title": "Person"}, {"color": "hsl(65, 46%, 58%)", "id": 64, "label": "starving", "shape": "dot", "size": 2, "title": "Condition"}, {"color": "hsl(65, 46%, 58%)", "id": 65, "label": "British Fleet", "shape": "dot", "size": 2, "title": "Organization"}, {"color": "hsl(65, 46%, 58%)", "id": 66, "label": "myself", "shape": "dot", "size": 2, "title": "NP"}, {"color": "hsl(65, 46%, 58%)", "id": 67, "label": "full confidence", "shape": "dot", "size": 2, "title": "NP"}, {"color": "hsl(65, 46%, 58%)", "id": 68, "label": "all", "shape": "dot", "size": 2, "title": "NP"}, {"color": "hsl(65, 46%, 58%)", "id": 69, "label": "their duty", "shape": "dot", "size": 2, "title": "NP"}, {"color": "hsl(65, 46%, 58%)", "id": 70, "label": "nothing", "shape": "dot", "size": 2, "title": "NP"}, {"color": "hsl(65, 46%, 58%)", "id": 71, "label": "the best arrangements", "shape": "dot", "size": 2, "title": "NP"}, {"color": "hsl(65, 46%, 58%)", "id": 72, "label": "ourselves", "shape": "dot", "size": 2, "title": "NP"}, {"color": "hsl(65, 46%, 58%)", "id": 73, "label": "our Island home", "shape": "dot", "size": 2, "title": "NP"}, {"color": "hsl(65, 46%, 58%)", "id": 74, "label": "the storm", "shape": "dot", "size": 2, "title": "NP"}, {"color": "hsl(65, 46%, 58%)", "id": 75, "label": "the menace", "shape": "dot", "size": 2, "title": "NP"}, {"color": "hsl(65, 46%, 58%)", "id": 76, "label": "any rate", "shape": "dot", "size": 2, "title": "NP"}, {"color": "hsl(65, 46%, 58%)", "id": 77, "label": "what", "shape": "dot", "size": 2, "title": "NP"}, {"color": "hsl(65, 46%, 58%)", "id": 78, "label": "the resolve", "shape": "dot", "size": 1, "title": "NP"}, {"color": "hsl(65, 46%, 58%)", "id": 79, "label": "His Majesty\u2019s Government", "shape": "dot", "size": 2, "title": "NP"}, {"color": "hsl(65, 46%, 58%)", "id": 80, "label": "every man", "shape": "dot", "size": 1, "title": "NP"}, {"color": "hsl(65, 46%, 58%)", "id": 81, "label": "the will", "shape": "dot", "size": 2, "title": "NP"}, {"color": "hsl(65, 46%, 58%)", "id": 82, "label": "the nation", "shape": "dot", "size": 2, "title": "NP"}, {"color": "hsl(65, 46%, 58%)", "id": 83, "label": "The British Empire", "shape": "dot", "size": 2, "title": "NP"}, {"color": "hsl(65, 46%, 58%)", "id": 84, "label": "the French Republic", "shape": "dot", "size": 2, "title": "NP"}, {"color": "hsl(65, 46%, 58%)", "id": 85, "label": "their cause", "shape": "dot", "size": 2, "title": "NP"}, {"color": "hsl(65, 46%, 58%)", "id": 86, "label": "their need", "shape": "dot", "size": 2, "title": "NP"}, {"color": "hsl(65, 46%, 58%)", "id": 87, "label": "the death", "shape": "dot", "size": 2, "title": "NP"}, {"color": "hsl(65, 46%, 58%)", "id": 88, "label": "their native soil", "shape": "dot", "size": 2, "title": "NP"}, {"color": "hsl(65, 46%, 58%)", "id": 89, "label": "good comrades", "shape": "dot", "size": 2, "title": "NP"}, {"color": "hsl(65, 46%, 58%)", "id": 90, "label": "the utmost", "shape": "dot", "size": 2, "title": "NP"}, {"color": "hsl(65, 46%, 58%)", "id": 91, "label": "their strength", "shape": "dot", "size": 2, "title": "NP"}, {"color": "hsl(65, 46%, 58%)", "id": 92, "label": "large tracts", "shape": "dot", "size": 2, "title": "NP"}, {"color": "hsl(65, 46%, 58%)", "id": 93, "label": "many old and famous States", "shape": "dot", "size": 2, "title": "NP"}, {"color": "hsl(65, 46%, 58%)", "id": 94, "label": "the grip", "shape": "dot", "size": 2, "title": "NP"}, {"color": "hsl(65, 46%, 58%)", "id": 95, "label": "the Gestapo", "shape": "dot", "size": 2, "title": "NP"}, {"color": "hsl(65, 46%, 58%)", "id": 96, "label": "all the odious apparatus", "shape": "dot", "size": 2, "title": "NP"}, {"color": "hsl(65, 46%, 58%)", "id": 97, "label": "Nazi rule", "shape": "dot", "size": 2, "title": "NP"}, {"color": "hsl(65, 46%, 58%)", "id": 98, "label": "the end", "shape": "dot", "size": 2, "title": "NP"}, {"color": "hsl(65, 46%, 58%)", "id": 99, "label": "the seas", "shape": "dot", "size": 2, "title": "NP"}, {"color": "hsl(65, 46%, 58%)", "id": 100, "label": "growing confidence", "shape": "dot", "size": 2, "title": "NP"}, {"color": "hsl(65, 46%, 58%)", "id": 101, "label": "growing strength", "shape": "dot", "size": 2, "title": "NP"}, {"color": "hsl(65, 46%, 58%)", "id": 102, "label": "the air", "shape": "dot", "size": 2, "title": "NP"}, {"color": "hsl(65, 46%, 58%)", "id": 103, "label": "our Island", "shape": "dot", "size": 2, "title": "NP"}, {"color": "hsl(65, 46%, 58%)", "id": 104, "label": "whatever", "shape": "dot", "size": 2, "title": "NP"}, {"color": "hsl(65, 46%, 58%)", "id": 105, "label": "the cost", "shape": "dot", "size": 2, "title": "NP"}, {"color": "hsl(65, 46%, 58%)", "id": 106, "label": "the beaches", "shape": "dot", "size": 2, "title": "NP"}, {"color": "hsl(65, 46%, 58%)", "id": 107, "label": "the landing grounds", "shape": "dot", "size": 2, "title": "NP"}, {"color": "hsl(65, 46%, 58%)", "id": 108, "label": "the fields", "shape": "dot", "size": 2, "title": "NP"}, {"color": "hsl(65, 46%, 58%)", "id": 109, "label": "the streets", "shape": "dot", "size": 2, "title": "NP"}, {"color": "hsl(65, 46%, 58%)", "id": 110, "label": "the hills", "shape": "dot", "size": 2, "title": "NP"}, {"color": "hsl(65, 46%, 58%)", "id": 111, "label": "a moment", "shape": "dot", "size": 2, "title": "NP"}, {"color": "hsl(65, 46%, 58%)", "id": 112, "label": "this Island", "shape": "dot", "size": 2, "title": "NP"}, {"color": "hsl(65, 46%, 58%)", "id": 113, "label": "a large part", "shape": "dot", "size": 2, "title": "NP"}, {"color": "hsl(65, 46%, 58%)", "id": 114, "label": "then our Empire", "shape": "dot", "size": 2, "title": "NP"}, {"color": "hsl(65, 46%, 58%)", "id": 115, "label": "the British Fleet", "shape": "dot", "size": 2, "title": "NP"}, {"color": "hsl(65, 46%, 58%)", "id": 116, "label": "the struggle", "shape": "dot", "size": 2, "title": "NP"}, {"color": "hsl(65, 46%, 58%)", "id": 117, "label": "God\u2019s good time", "shape": "dot", "size": 2, "title": "NP"}, {"color": "hsl(65, 46%, 58%)", "id": 118, "label": "the New World", "shape": "dot", "size": 2, "title": "NP"}, {"color": "hsl(65, 46%, 58%)", "id": 119, "label": "all its power", "shape": "dot", "size": 2, "title": "NP"}, {"color": "hsl(65, 46%, 58%)", "id": 120, "label": "the rescue", "shape": "dot", "size": 2, "title": "NP"}, {"color": "hsl(65, 46%, 58%)", "id": 121, "label": "the liberation", "shape": "dot", "size": 2, "title": "NP"}]);
edges = new vis.DataSet([{"from": 0, "title": "FOLLOWS_LEXICALLY", "to": 1}, {"from": 0, "title": "FOLLOWS_LEXICALLY", "to": 2}, {"from": 0, "title": "FOLLOWS_LEXICALLY", "to": 3}, {"from": 0, "title": "FOLLOWS_LEXICALLY", "to": 40}, {"from": 0, "title": "FOLLOWS_LEXICALLY", "to": 28}, {"from": 0, "title": "FOLLOWS_LEXICALLY", "to": 39}, {"from": 0, "title": "FOLLOWS_LEXICALLY", "to": 41}, {"from": 0, "title": "FOLLOWS_LEXICALLY", "to": 38}, {"from": 0, "title": "COMPOUND_ELEMENT_OF", "to": 67}, {"from": 0, "title": "COMPOUND_ELEMENT_OF", "to": 100}, {"from": 1, "title": "FOLLOWS_LEXICALLY", "to": 2}, {"from": 1, "title": "FOLLOWS_LEXICALLY", "to": 3}, {"from": 1, "title": "FOLLOWS_LEXICALLY", "to": 4}, {"from": 1, "title": "COMPOUND_ELEMENT_OF", "to": 69}, {"from": 2, "title": "FOLLOWS_LEXICALLY", "to": 3}, {"from": 2, "title": "FOLLOWS_LEXICALLY", "to": 4}, {"from": 2, "title": "FOLLOWS_LEXICALLY", "to": 5}, {"from": 2, "title": "COMPOUND_ELEMENT_OF", "to": 71}, {"from": 3, "title": "FOLLOWS_LEXICALLY", "to": 4}, {"from": 3, "title": "FOLLOWS_LEXICALLY", "to": 5}, {"from": 3, "title": "FOLLOWS_LEXICALLY", "to": 6}, {"from": 3, "title": "FOLLOWS_LEXICALLY", "to": 41}, {"from": 3, "title": "FOLLOWS_LEXICALLY", "to": 42}, {"from": 3, "title": "FOLLOWS_LEXICALLY", "to": 49}, {"from": 3, "title": "FOLLOWS_LEXICALLY", "to": 50}, {"from": 3, "title": "FOLLOWS_LEXICALLY", "to": 28}, {"from": 3, "title": "FOLLOWS_LEXICALLY", "to": 43}, {"from": 3, "title": "FOLLOWS_LEXICALLY", "to": 48}, {"from": 3, "title": "FOLLOWS_LEXICALLY", "to": 19}, {"from": 3, "title": "FOLLOWS_LEXICALLY", "to": 44}, {"from": 3, "title": "FOLLOWS_LEXICALLY", "to": 47}, {"from": 3, "title": "FOLLOWS_LEXICALLY", "to": 39}, {"from": 3, "title": "COMPOUND_ELEMENT_OF", "to": 73}, {"from": 3, "title": "COMPOUND_ELEMENT_OF", "to": 103}, {"from": 3, "title": "COMPOUND_ELEMENT_OF", "to": 112}, {"from": 4, "title": "FOLLOWS_LEXICALLY", "to": 5}, {"from": 4, "title": "FOLLOWS_LEXICALLY", "to": 6}, {"from": 4, "title": "FOLLOWS_LEXICALLY", "to": 7}, {"from": 4, "title": "COMPOUND_ELEMENT_OF", "to": 73}, {"from": 5, "title": "FOLLOWS_LEXICALLY", "to": 6}, {"from": 5, "title": "FOLLOWS_LEXICALLY", "to": 7}, {"from": 5, "title": "FOLLOWS_LEXICALLY", "to": 8}, {"from": 5, "title": "COMPOUND_ELEMENT_OF", "to": 74}, {"from": 6, "title": "FOLLOWS_LEXICALLY", "to": 7}, {"from": 6, "title": "FOLLOWS_LEXICALLY", "to": 8}, {"from": 6, "title": "FOLLOWS_LEXICALLY", "to": 9}, {"from": 6, "title": "CO_OCCURS_WITH", "to": 66}, {"from": 6, "title": "CO_OCCURS_WITH", "to": 67}, {"from": 6, "title": "CO_OCCURS_WITH", "to": 68}, {"from": 6, "title": "CO_OCCURS_WITH", "to": 69}, {"from": 6, "title": "CO_OCCURS_WITH", "to": 70}, {"from": 6, "title": "CO_OCCURS_WITH", "to": 71}, {"from": 6, "title": "CO_OCCURS_WITH", "to": 72}, {"from": 6, "title": "CO_OCCURS_WITH", "to": 73}, {"from": 6, "title": "CO_OCCURS_WITH", "to": 74}, {"from": 6, "title": "CO_OCCURS_WITH", "to": 75}, {"from": 6, "title": "CO_OCCURS_WITH", "to": 63}, {"from": 7, "title": "FOLLOWS_LEXICALLY", "to": 8}, {"from": 7, "title": "FOLLOWS_LEXICALLY", "to": 9}, {"from": 7, "title": "COMPOUND_ELEMENT_OF", "to": 75}, {"from": 8, "title": "FOLLOWS_LEXICALLY", "to": 9}, {"from": 8, "title": "CO_OCCURS_WITH", "to": 66}, {"from": 8, "title": "CO_OCCURS_WITH", "to": 67}, {"from": 8, "title": "CO_OCCURS_WITH", "to": 68}, {"from": 8, "title": "CO_OCCURS_WITH", "to": 69}, {"from": 8, "title": "CO_OCCURS_WITH", "to": 70}, {"from": 8, "title": "CO_OCCURS_WITH", "to": 71}, {"from": 8, "title": "CO_OCCURS_WITH", "to": 72}, {"from": 8, "title": "CO_OCCURS_WITH", "to": 73}, {"from": 8, "title": "CO_OCCURS_WITH", "to": 74}, {"from": 8, "title": "CO_OCCURS_WITH", "to": 75}, {"from": 8, "title": "CO_OCCURS_WITH", "to": 63}, {"from": 9, "title": "CO_OCCURS_WITH", "to": 66}, {"from": 9, "title": "CO_OCCURS_WITH", "to": 67}, {"from": 9, "title": "CO_OCCURS_WITH", "to": 68}, {"from": 9, "title": "CO_OCCURS_WITH", "to": 69}, {"from": 9, "title": "CO_OCCURS_WITH", "to": 70}, {"from": 9, "title": "CO_OCCURS_WITH", "to": 71}, {"from": 9, "title": "CO_OCCURS_WITH", "to": 72}, {"from": 9, "title": "CO_OCCURS_WITH", "to": 73}, {"from": 9, "title": "CO_OCCURS_WITH", "to": 74}, {"from": 9, "title": "CO_OCCURS_WITH", "to": 75}, {"from": 9, "title": "CO_OCCURS_WITH", "to": 63}, {"from": 10, "title": "COMPOUND_ELEMENT_OF", "to": 76}, {"from": 11, "title": "FOLLOWS_LEXICALLY", "to": 12}, {"from": 11, "title": "FOLLOWS_LEXICALLY", "to": 13}, {"from": 11, "title": "FOLLOWS_LEXICALLY", "to": 14}, {"from": 11, "title": "COMPOUND_ELEMENT_OF", "to": 78}, {"from": 12, "title": "FOLLOWS_LEXICALLY", "to": 13}, {"from": 12, "title": "FOLLOWS_LEXICALLY", "to": 14}, {"from": 12, "title": "COMPOUND_ELEMENT_OF", "to": 79}, {"from": 13, "title": "FOLLOWS_LEXICALLY", "to": 14}, {"from": 13, "title": "COMPOUND_ELEMENT_OF", "to": 79}, {"from": 14, "title": "COMPOUND_ELEMENT_OF", "to": 80}, {"from": 15, "title": "FOLLOWS_LEXICALLY", "to": 16}, {"from": 15, "title": "FOLLOWS_LEXICALLY", "to": 17}, {"from": 15, "title": "COMPOUND_ELEMENT_OF", "to": 81}, {"from": 16, "title": "FOLLOWS_LEXICALLY", "to": 17}, {"from": 16, "title": "CO_OCCURS_WITH", "to": 81}, {"from": 16, "title": "CO_OCCURS_WITH", "to": 82}, {"from": 17, "title": "COMPOUND_ELEMENT_OF", "to": 82}, {"from": 18, "title": "FOLLOWS_LEXICALLY", "to": 19}, {"from": 18, "title": "FOLLOWS_LEXICALLY", "to": 20}, {"from": 18, "title": "FOLLOWS_LEXICALLY", "to": 21}, {"from": 18, "title": "FOLLOWS_LEXICALLY", "to": 39}, {"from": 18, "title": "FOLLOWS_LEXICALLY", "to": 51}, {"from": 18, "title": "FOLLOWS_LEXICALLY", "to": 52}, {"from": 18, "title": "FOLLOWS_LEXICALLY", "to": 50}, {"from": 18, "title": "FOLLOWS_LEXICALLY", "to": 53}, {"from": 18, "title": "COMPOUND_ELEMENT_OF", "to": 61}, {"from": 18, "title": "COMPOUND_ELEMENT_OF", "to": 65}, {"from": 18, "title": "COMPOUND_ELEMENT_OF", "to": 83}, {"from": 18, "title": "COMPOUND_ELEMENT_OF", "to": 115}, {"from": 19, "title": "FOLLOWS_LEXICALLY", "to": 20}, {"from": 19, "title": "FOLLOWS_LEXICALLY", "to": 21}, {"from": 19, "title": "FOLLOWS_LEXICALLY", "to": 22}, {"from": 19, "title": "FOLLOWS_LEXICALLY", "to": 50}, {"from": 19, "title": "FOLLOWS_LEXICALLY", "to": 39}, {"from": 19, "title": "FOLLOWS_LEXICALLY", "to": 49}, {"from": 19, "title": "FOLLOWS_LEXICALLY", "to": 51}, {"from": 19, "title": "COMPOUND_ELEMENT_OF", "to": 61}, {"from": 19, "title": "COMPOUND_ELEMENT_OF", "to": 83}, {"from": 19, "title": "COMPOUND_ELEMENT_OF", "to": 114}, {"from": 20, "title": "FOLLOWS_LEXICALLY", "to": 21}, {"from": 20, "title": "FOLLOWS_LEXICALLY", "to": 22}, {"from": 20, "title": "FOLLOWS_LEXICALLY", "to": 23}, {"from": 20, "title": "COMPOUND_ELEMENT_OF", "to": 62}, {"from": 20, "title": "COMPOUND_ELEMENT_OF", "to": 84}, {"from": 21, "title": "FOLLOWS_LEXICALLY", "to": 22}, {"from": 21, "title": "FOLLOWS_LEXICALLY", "to": 23}, {"from": 21, "title": "FOLLOWS_LEXICALLY", "to": 24}, {"from": 21, "title": "COMPOUND_ELEMENT_OF", "to": 62}, {"from": 21, "title": "COMPOUND_ELEMENT_OF", "to": 84}, {"from": 22, "title": "FOLLOWS_LEXICALLY", "to": 23}, {"from": 22, "title": "FOLLOWS_LEXICALLY", "to": 24}, {"from": 22, "title": "FOLLOWS_LEXICALLY", "to": 25}, {"from": 22, "title": "COMPOUND_ELEMENT_OF", "to": 85}, {"from": 23, "title": "FOLLOWS_LEXICALLY", "to": 24}, {"from": 23, "title": "FOLLOWS_LEXICALLY", "to": 25}, {"from": 23, "title": "FOLLOWS_LEXICALLY", "to": 26}, {"from": 23, "title": "COMPOUND_ELEMENT_OF", "to": 86}, {"from": 24, "title": "FOLLOWS_LEXICALLY", "to": 25}, {"from": 24, "title": "FOLLOWS_LEXICALLY", "to": 26}, {"from": 24, "title": "FOLLOWS_LEXICALLY", "to": 27}, {"from": 24, "title": "COMPOUND_ELEMENT_OF", "to": 87}, {"from": 25, "title": "FOLLOWS_LEXICALLY", "to": 26}, {"from": 25, "title": "FOLLOWS_LEXICALLY", "to": 27}, {"from": 25, "title": "FOLLOWS_LEXICALLY", "to": 28}, {"from": 25, "title": "COMPOUND_ELEMENT_OF", "to": 88}, {"from": 26, "title": "FOLLOWS_LEXICALLY", "to": 27}, {"from": 26, "title": "FOLLOWS_LEXICALLY", "to": 28}, {"from": 26, "title": "COMPOUND_ELEMENT_OF", "to": 89}, {"from": 27, "title": "FOLLOWS_LEXICALLY", "to": 28}, {"from": 27, "title": "COMPOUND_ELEMENT_OF", "to": 90}, {"from": 28, "title": "FOLLOWS_LEXICALLY", "to": 41}, {"from": 28, "title": "FOLLOWS_LEXICALLY", "to": 40}, {"from": 28, "title": "FOLLOWS_LEXICALLY", "to": 39}, {"from": 28, "title": "FOLLOWS_LEXICALLY", "to": 42}, {"from": 28, "title": "COMPOUND_ELEMENT_OF", "to": 91}, {"from": 28, "title": "COMPOUND_ELEMENT_OF", "to": 101}, {"from": 29, "title": "FOLLOWS_LEXICALLY", "to": 30}, {"from": 29, "title": "FOLLOWS_LEXICALLY", "to": 31}, {"from": 29, "title": "FOLLOWS_LEXICALLY", "to": 32}, {"from": 29, "title": "COMPOUND_ELEMENT_OF", "to": 92}, {"from": 30, "title": "FOLLOWS_LEXICALLY", "to": 31}, {"from": 30, "title": "FOLLOWS_LEXICALLY", "to": 32}, {"from": 30, "title": "FOLLOWS_LEXICALLY", "to": 33}, {"from": 30, "title": "CO_OCCURS_WITH", "to": 96}, {"from": 30, "title": "CO_OCCURS_WITH", "to": 97}, {"from": 30, "title": "CO_OCCURS_WITH", "to": 94}, {"from": 30, "title": "CO_OCCURS_WITH", "to": 92}, {"from": 30, "title": "CO_OCCURS_WITH", "to": 93}, {"from": 30, "title": "CO_OCCURS_WITH", "to": 95}, {"from": 31, "title": "FOLLOWS_LEXICALLY", "to": 32}, {"from": 31, "title": "FOLLOWS_LEXICALLY", "to": 33}, {"from": 31, "title": "FOLLOWS_LEXICALLY", "to": 34}, {"from": 31, "title": "COMPOUND_ELEMENT_OF", "to": 93}, {"from": 32, "title": "FOLLOWS_LEXICALLY", "to": 33}, {"from": 32, "title": "FOLLOWS_LEXICALLY", "to": 34}, {"from": 32, "title": "FOLLOWS_LEXICALLY", "to": 35}, {"from": 32, "title": "COMPOUND_ELEMENT_OF", "to": 94}, {"from": 33, "title": "FOLLOWS_LEXICALLY", "to": 34}, {"from": 33, "title": "FOLLOWS_LEXICALLY", "to": 35}, {"from": 33, "title": "FOLLOWS_LEXICALLY", "to": 36}, {"from": 33, "title": "COMPOUND_ELEMENT_OF", "to": 95}, {"from": 33, "title": "CO_OCCURS_WITH", "to": 96}, {"from": 33, "title": "CO_OCCURS_WITH", "to": 97}, {"from": 33, "title": "CO_OCCURS_WITH", "to": 94}, {"from": 33, "title": "CO_OCCURS_WITH", "to": 92}, {"from": 33, "title": "CO_OCCURS_WITH", "to": 93}, {"from": 34, "title": "FOLLOWS_LEXICALLY", "to": 35}, {"from": 34, "title": "FOLLOWS_LEXICALLY", "to": 36}, {"from": 34, "title": "COMPOUND_ELEMENT_OF", "to": 96}, {"from": 35, "title": "FOLLOWS_LEXICALLY", "to": 36}, {"from": 35, "title": "COMPOUND_ELEMENT_OF", "to": 97}, {"from": 36, "title": "COMPOUND_ELEMENT_OF", "to": 97}, {"from": 37, "title": "FOLLOWS_LEXICALLY", "to": 38}, {"from": 37, "title": "FOLLOWS_LEXICALLY", "to": 39}, {"from": 37, "title": "FOLLOWS_LEXICALLY", "to": 40}, {"from": 37, "title": "COMPOUND_ELEMENT_OF", "to": 98}, {"from": 38, "title": "FOLLOWS_LEXICALLY", "to": 39}, {"from": 38, "title": "FOLLOWS_LEXICALLY", "to": 40}, {"from": 38, "title": "CO_OCCURS_WITH", "to": 58}, {"from": 38, "title": "CO_OCCURS_WITH", "to": 63}, {"from": 38, "title": "CO_OCCURS_WITH", "to": 64}, {"from": 38, "title": "CO_OCCURS_WITH", "to": 65}, {"from": 38, "title": "CO_OCCURS_WITH", "to": 98}, {"from": 38, "title": "CO_OCCURS_WITH", "to": 99}, {"from": 38, "title": "CO_OCCURS_WITH", "to": 100}, {"from": 38, "title": "CO_OCCURS_WITH", "to": 101}, {"from": 38, "title": "CO_OCCURS_WITH", "to": 102}, {"from": 38, "title": "CO_OCCURS_WITH", "to": 103}, {"from": 38, "title": "CO_OCCURS_WITH", "to": 104}, {"from": 38, "title": "CO_OCCURS_WITH", "to": 105}, {"from": 38, "title": "CO_OCCURS_WITH", "to": 106}, {"from": 38, "title": "CO_OCCURS_WITH", "to": 107}, {"from": 38, "title": "CO_OCCURS_WITH", "to": 108}, {"from": 38, "title": "CO_OCCURS_WITH", "to": 109}, {"from": 38, "title": "CO_OCCURS_WITH", "to": 110}, {"from": 38, "title": "CO_OCCURS_WITH", "to": 111}, {"from": 38, "title": "CO_OCCURS_WITH", "to": 112}, {"from": 38, "title": "CO_OCCURS_WITH", "to": 113}, {"from": 38, "title": "CO_OCCURS_WITH", "to": 114}, {"from": 38, "title": "CO_OCCURS_WITH", "to": 115}, {"from": 38, "title": "CO_OCCURS_WITH", "to": 116}, {"from": 38, "title": "CO_OCCURS_WITH", "to": 117}, {"from": 38, "title": "CO_OCCURS_WITH", "to": 118}, {"from": 38, "title": "CO_OCCURS_WITH", "to": 119}, {"from": 38, "title": "CO_OCCURS_WITH", "to": 120}, {"from": 38, "title": "CO_OCCURS_WITH", "to": 121}, {"from": 39, "title": "FOLLOWS_LEXICALLY", "to": 40}, {"from": 39, "title": "FOLLOWS_LEXICALLY", "to": 50}, {"from": 39, "title": "FOLLOWS_LEXICALLY", "to": 51}, {"from": 39, "title": "FOLLOWS_LEXICALLY", "to": 52}, {"from": 39, "title": "COMPOUND_ELEMENT_OF", "to": 99}, {"from": 40, "title": "FOLLOWS_LEXICALLY", "to": 41}, {"from": 40, "title": "CO_OCCURS_WITH", "to": 58}, {"from": 40, "title": "CO_OCCURS_WITH", "to": 63}, {"from": 40, "title": "CO_OCCURS_WITH", "to": 64}, {"from": 40, "title": "CO_OCCURS_WITH", "to": 65}, {"from": 40, "title": "CO_OCCURS_WITH", "to": 98}, {"from": 40, "title": "CO_OCCURS_WITH", "to": 99}, {"from": 40, "title": "CO_OCCURS_WITH", "to": 100}, {"from": 40, "title": "CO_OCCURS_WITH", "to": 101}, {"from": 40, "title": "CO_OCCURS_WITH", "to": 102}, {"from": 40, "title": "CO_OCCURS_WITH", "to": 103}, {"from": 40, "title": "CO_OCCURS_WITH", "to": 104}, {"from": 40, "title": "CO_OCCURS_WITH", "to": 105}, {"from": 40, "title": "CO_OCCURS_WITH", "to": 106}, {"from": 40, "title": "CO_OCCURS_WITH", "to": 107}, {"from": 40, "title": "CO_OCCURS_WITH", "to": 108}, {"from": 40, "title": "CO_OCCURS_WITH", "to": 109}, {"from": 40, "title": "CO_OCCURS_WITH", "to": 110}, {"from": 40, "title": "CO_OCCURS_WITH", "to": 111}, {"from": 40, "title": "CO_OCCURS_WITH", "to": 112}, {"from": 40, "title": "CO_OCCURS_WITH", "to": 113}, {"from": 40, "title": "CO_OCCURS_WITH", "to": 114}, {"from": 40, "title": "CO_OCCURS_WITH", "to": 115}, {"from": 40, "title": "CO_OCCURS_WITH", "to": 116}, {"from": 40, "title": "CO_OCCURS_WITH", "to": 117}, {"from": 40, "title": "CO_OCCURS_WITH", "to": 118}, {"from": 40, "title": "CO_OCCURS_WITH", "to": 119}, {"from": 40, "title": "CO_OCCURS_WITH", "to": 120}, {"from": 40, "title": "CO_OCCURS_WITH", "to": 121}, {"from": 41, "title": "FOLLOWS_LEXICALLY", "to": 42}, {"from": 41, "title": "FOLLOWS_LEXICALLY", "to": 43}, {"from": 41, "title": "COMPOUND_ELEMENT_OF", "to": 102}, {"from": 42, "title": "FOLLOWS_LEXICALLY", "to": 43}, {"from": 42, "title": "FOLLOWS_LEXICALLY", "to": 44}, {"from": 42, "title": "FOLLOWS_LEXICALLY", "to": 45}, {"from": 42, "title": "COMPOUND_ELEMENT_OF", "to": 105}, {"from": 43, "title": "FOLLOWS_LEXICALLY", "to": 44}, {"from": 43, "title": "FOLLOWS_LEXICALLY", "to": 45}, {"from": 43, "title": "FOLLOWS_LEXICALLY", "to": 46}, {"from": 43, "title": "COMPOUND_ELEMENT_OF", "to": 106}, {"from": 44, "title": "FOLLOWS_LEXICALLY", "to": 45}, {"from": 44, "title": "FOLLOWS_LEXICALLY", "to": 46}, {"from": 44, "title": "FOLLOWS_LEXICALLY", "to": 47}, {"from": 44, "title": "COMPOUND_ELEMENT_OF", "to": 107}, {"from": 45, "title": "FOLLOWS_LEXICALLY", "to": 46}, {"from": 45, "title": "FOLLOWS_LEXICALLY", "to": 47}, {"from": 45, "title": "FOLLOWS_LEXICALLY", "to": 48}, {"from": 45, "title": "COMPOUND_ELEMENT_OF", "to": 107}, {"from": 46, "title": "FOLLOWS_LEXICALLY", "to": 47}, {"from": 46, "title": "FOLLOWS_LEXICALLY", "to": 48}, {"from": 46, "title": "FOLLOWS_LEXICALLY", "to": 49}, {"from": 46, "title": "COMPOUND_ELEMENT_OF", "to": 108}, {"from": 47, "title": "FOLLOWS_LEXICALLY", "to": 48}, {"from": 47, "title": "FOLLOWS_LEXICALLY", "to": 49}, {"from": 47, "title": "COMPOUND_ELEMENT_OF", "to": 109}, {"from": 48, "title": "FOLLOWS_LEXICALLY", "to": 49}, {"from": 48, "title": "FOLLOWS_LEXICALLY", "to": 50}, {"from": 48, "title": "COMPOUND_ELEMENT_OF", "to": 110}, {"from": 49, "title": "FOLLOWS_LEXICALLY", "to": 50}, {"from": 49, "title": "COMPOUND_ELEMENT_OF", "to": 111}, {"from": 50, "title": "COMPOUND_ELEMENT_OF", "to": 113}, {"from": 51, "title": "FOLLOWS_LEXICALLY", "to": 52}, {"from": 51, "title": "FOLLOWS_LEXICALLY", "to": 53}, {"from": 51, "title": "FOLLOWS_LEXICALLY", "to": 54}, {"from": 51, "title": "COMPOUND_ELEMENT_OF", "to": 65}, {"from": 51, "title": "COMPOUND_ELEMENT_OF", "to": 115}, {"from": 52, "title": "FOLLOWS_LEXICALLY", "to": 53}, {"from": 52, "title": "FOLLOWS_LEXICALLY", "to": 54}, {"from": 52, "title": "FOLLOWS_LEXICALLY", "to": 55}, {"from": 52, "title": "COMPOUND_ELEMENT_OF", "to": 116}, {"from": 53, "title": "FOLLOWS_LEXICALLY", "to": 54}, {"from": 53, "title": "FOLLOWS_LEXICALLY", "to": 55}, {"from": 53, "title": "FOLLOWS_LEXICALLY", "to": 56}, {"from": 53, "title": "COMPOUND_ELEMENT_OF", "to": 117}, {"from": 54, "title": "FOLLOWS_LEXICALLY", "to": 55}, {"from": 54, "title": "FOLLOWS_LEXICALLY", "to": 56}, {"from": 54, "title": "FOLLOWS_LEXICALLY", "to": 57}, {"from": 54, "title": "COMPOUND_ELEMENT_OF", "to": 117}, {"from": 55, "title": "FOLLOWS_LEXICALLY", "to": 56}, {"from": 55, "title": "FOLLOWS_LEXICALLY", "to": 57}, {"from": 55, "title": "FOLLOWS_LEXICALLY", "to": 58}, {"from": 55, "title": "COMPOUND_ELEMENT_OF", "to": 118}, {"from": 56, "title": "FOLLOWS_LEXICALLY", "to": 57}, {"from": 56, "title": "FOLLOWS_LEXICALLY", "to": 58}, {"from": 56, "title": "FOLLOWS_LEXICALLY", "to": 59}, {"from": 56, "title": "COMPOUND_ELEMENT_OF", "to": 118}, {"from": 57, "title": "FOLLOWS_LEXICALLY", "to": 58}, {"from": 57, "title": "FOLLOWS_LEXICALLY", "to": 59}, {"from": 57, "title": "FOLLOWS_LEXICALLY", "to": 60}, {"from": 57, "title": "COMPOUND_ELEMENT_OF", "to": 119}, {"from": 58, "title": "FOLLOWS_LEXICALLY", "to": 59}, {"from": 58, "title": "FOLLOWS_LEXICALLY", "to": 60}, {"from": 58, "title": "CO_OCCURS_WITH", "to": 63}, {"from": 58, "title": "CO_OCCURS_WITH", "to": 64}, {"from": 58, "title": "CO_OCCURS_WITH", "to": 65}, {"from": 58, "title": "CO_OCCURS_WITH", "to": 98}, {"from": 58, "title": "CO_OCCURS_WITH", "to": 99}, {"from": 58, "title": "CO_OCCURS_WITH", "to": 100}, {"from": 58, "title": "CO_OCCURS_WITH", "to": 101}, {"from": 58, "title": "CO_OCCURS_WITH", "to": 102}, {"from": 58, "title": "CO_OCCURS_WITH", "to": 103}, {"from": 58, "title": "CO_OCCURS_WITH", "to": 104}, {"from": 58, "title": "CO_OCCURS_WITH", "to": 105}, {"from": 58, "title": "CO_OCCURS_WITH", "to": 106}, {"from": 58, "title": "CO_OCCURS_WITH", "to": 107}, {"from": 58, "title": "CO_OCCURS_WITH", "to": 108}, {"from": 58, "title": "CO_OCCURS_WITH", "to": 109}, {"from": 58, "title": "CO_OCCURS_WITH", "to": 110}, {"from": 58, "title": "CO_OCCURS_WITH", "to": 111}, {"from": 58, "title": "CO_OCCURS_WITH", "to": 112}, {"from": 58, "title": "CO_OCCURS_WITH", "to": 113}, {"from": 58, "title": "CO_OCCURS_WITH", "to": 114}, {"from": 58, "title": "CO_OCCURS_WITH", "to": 115}, {"from": 58, "title": "CO_OCCURS_WITH", "to": 116}, {"from": 58, "title": "CO_OCCURS_WITH", "to": 117}, {"from": 58, "title": "CO_OCCURS_WITH", "to": 118}, {"from": 58, "title": "CO_OCCURS_WITH", "to": 119}, {"from": 58, "title": "CO_OCCURS_WITH", "to": 120}, {"from": 58, "title": "CO_OCCURS_WITH", "to": 121}, {"from": 59, "title": "FOLLOWS_LEXICALLY", "to": 60}, {"from": 59, "title": "COMPOUND_ELEMENT_OF", "to": 120}, {"from": 60, "title": "COMPOUND_ELEMENT_OF", "to": 121}, {"from": 61, "title": "CO_OCCURS_WITH", "to": 83}, {"from": 61, "title": "CO_OCCURS_WITH", "to": 84}, {"from": 61, "title": "CO_OCCURS_WITH", "to": 85}, {"from": 61, "title": "CO_OCCURS_WITH", "to": 86}, {"from": 61, "title": "CO_OCCURS_WITH", "to": 87}, {"from": 61, "title": "CO_OCCURS_WITH", "to": 88}, {"from": 61, "title": "CO_OCCURS_WITH", "to": 89}, {"from": 61, "title": "CO_OCCURS_WITH", "to": 90}, {"from": 61, "title": "CO_OCCURS_WITH", "to": 91}, {"from": 61, "title": "CO_OCCURS_WITH", "to": 62}, {"from": 62, "title": "CO_OCCURS_WITH", "to": 83}, {"from": 62, "title": "CO_OCCURS_WITH", "to": 84}, {"from": 62, "title": "CO_OCCURS_WITH", "to": 85}, {"from": 62, "title": "CO_OCCURS_WITH", "to": 86}, {"from": 62, "title": "CO_OCCURS_WITH", "to": 87}, {"from": 62, "title": "CO_OCCURS_WITH", "to": 88}, {"from": 62, "title": "CO_OCCURS_WITH", "to": 89}, {"from": 62, "title": "CO_OCCURS_WITH", "to": 90}, {"from": 62, "title": "CO_OCCURS_WITH", "to": 91}, {"from": 63, "title": "COMPOUND_ELEMENT_OF", "to": 63}, {"from": 63, "title": "CO_OCCURS_WITH", "to": 64}, {"from": 63, "title": "CO_OCCURS_WITH", "to": 65}, {"from": 63, "title": "CO_OCCURS_WITH", "to": 98}, {"from": 63, "title": "CO_OCCURS_WITH", "to": 99}, {"from": 63, "title": "CO_OCCURS_WITH", "to": 100}, {"from": 63, "title": "CO_OCCURS_WITH", "to": 101}, {"from": 63, "title": "CO_OCCURS_WITH", "to": 102}, {"from": 63, "title": "CO_OCCURS_WITH", "to": 103}, {"from": 63, "title": "CO_OCCURS_WITH", "to": 104}, {"from": 63, "title": "CO_OCCURS_WITH", "to": 105}, {"from": 63, "title": "CO_OCCURS_WITH", "to": 106}, {"from": 63, "title": "CO_OCCURS_WITH", "to": 107}, {"from": 63, "title": "CO_OCCURS_WITH", "to": 108}, {"from": 63, "title": "CO_OCCURS_WITH", "to": 109}, {"from": 63, "title": "CO_OCCURS_WITH", "to": 110}, {"from": 63, "title": "CO_OCCURS_WITH", "to": 111}, {"from": 63, "title": "CO_OCCURS_WITH", "to": 112}, {"from": 63, "title": "CO_OCCURS_WITH", "to": 113}, {"from": 63, "title": "CO_OCCURS_WITH", "to": 114}, {"from": 63, "title": "CO_OCCURS_WITH", "to": 115}, {"from": 63, "title": "CO_OCCURS_WITH", "to": 116}, {"from": 63, "title": "CO_OCCURS_WITH", "to": 117}, {"from": 63, "title": "CO_OCCURS_WITH", "to": 118}, {"from": 63, "title": "CO_OCCURS_WITH", "to": 119}, {"from": 63, "title": "CO_OCCURS_WITH", "to": 120}, {"from": 63, "title": "CO_OCCURS_WITH", "to": 121}, {"from": 63, "title": "CO_OCCURS_WITH", "to": 66}, {"from": 63, "title": "CO_OCCURS_WITH", "to": 67}, {"from": 63, "title": "CO_OCCURS_WITH", "to": 68}, {"from": 63, "title": "CO_OCCURS_WITH", "to": 69}, {"from": 63, "title": "CO_OCCURS_WITH", "to": 70}, {"from": 63, "title": "CO_OCCURS_WITH", "to": 71}, {"from": 63, "title": "CO_OCCURS_WITH", "to": 72}, {"from": 63, "title": "CO_OCCURS_WITH", "to": 73}, {"from": 63, "title": "CO_OCCURS_WITH", "to": 74}, {"from": 63, "title": "CO_OCCURS_WITH", "to": 75}, {"from": 64, "title": "COMPOUND_ELEMENT_OF", "to": 64}, {"from": 64, "title": "CO_OCCURS_WITH", "to": 65}, {"from": 64, "title": "CO_OCCURS_WITH", "to": 98}, {"from": 64, "title": "CO_OCCURS_WITH", "to": 99}, {"from": 64, "title": "CO_OCCURS_WITH", "to": 100}, {"from": 64, "title": "CO_OCCURS_WITH", "to": 101}, {"from": 64, "title": "CO_OCCURS_WITH", "to": 102}, {"from": 64, "title": "CO_OCCURS_WITH", "to": 103}, {"from": 64, "title": "CO_OCCURS_WITH", "to": 104}, {"from": 64, "title": "CO_OCCURS_WITH", "to": 105}, {"from": 64, "title": "CO_OCCURS_WITH", "to": 106}, {"from": 64, "title": "CO_OCCURS_WITH", "to": 107}, {"from": 64, "title": "CO_OCCURS_WITH", "to": 108}, {"from": 64, "title": "CO_OCCURS_WITH", "to": 109}, {"from": 64, "title": "CO_OCCURS_WITH", "to": 110}, {"from": 64, "title": "CO_OCCURS_WITH", "to": 111}, {"from": 64, "title": "CO_OCCURS_WITH", "to": 112}, {"from": 64, "title": "CO_OCCURS_WITH", "to": 113}, {"from": 64, "title": "CO_OCCURS_WITH", "to": 114}, {"from": 64, "title": "CO_OCCURS_WITH", "to": 115}, {"from": 64, "title": "CO_OCCURS_WITH", "to": 116}, {"from": 64, "title": "CO_OCCURS_WITH", "to": 117}, {"from": 64, "title": "CO_OCCURS_WITH", "to": 118}, {"from": 64, "title": "CO_OCCURS_WITH", "to": 119}, {"from": 64, "title": "CO_OCCURS_WITH", "to": 120}, {"from": 64, "title": "CO_OCCURS_WITH", "to": 121}, {"from": 65, "title": "CO_OCCURS_WITH", "to": 98}, {"from": 65, "title": "CO_OCCURS_WITH", "to": 99}, {"from": 65, "title": "CO_OCCURS_WITH", "to": 100}, {"from": 65, "title": "CO_OCCURS_WITH", "to": 101}, {"from": 65, "title": "CO_OCCURS_WITH", "to": 102}, {"from": 65, "title": "CO_OCCURS_WITH", "to": 103}, {"from": 65, "title": "CO_OCCURS_WITH", "to": 104}, {"from": 65, "title": "CO_OCCURS_WITH", "to": 105}, {"from": 65, "title": "CO_OCCURS_WITH", "to": 106}, {"from": 65, "title": "CO_OCCURS_WITH", "to": 107}, {"from": 65, "title": "CO_OCCURS_WITH", "to": 108}, {"from": 65, "title": "CO_OCCURS_WITH", "to": 109}, {"from": 65, "title": "CO_OCCURS_WITH", "to": 110}, {"from": 65, "title": "CO_OCCURS_WITH", "to": 111}, {"from": 65, "title": "CO_OCCURS_WITH", "to": 112}, {"from": 65, "title": "CO_OCCURS_WITH", "to": 113}, {"from": 65, "title": "CO_OCCURS_WITH", "to": 114}, {"from": 65, "title": "CO_OCCURS_WITH", "to": 115}, {"from": 65, "title": "CO_OCCURS_WITH", "to": 116}, {"from": 65, "title": "CO_OCCURS_WITH", "to": 117}, {"from": 65, "title": "CO_OCCURS_WITH", "to": 118}, {"from": 65, "title": "CO_OCCURS_WITH", "to": 119}, {"from": 65, "title": "CO_OCCURS_WITH", "to": 120}, {"from": 65, "title": "CO_OCCURS_WITH", "to": 121}, {"from": 66, "title": "COMPOUND_ELEMENT_OF", "to": 66}, {"from": 66, "title": "CO_OCCURS_WITH", "to": 67}, {"from": 66, "title": "CO_OCCURS_WITH", "to": 68}, {"from": 66, "title": "CO_OCCURS_WITH", "to": 69}, {"from": 66, "title": "CO_OCCURS_WITH", "to": 70}, {"from": 66, "title": "CO_OCCURS_WITH", "to": 71}, {"from": 66, "title": "CO_OCCURS_WITH", "to": 72}, {"from": 66, "title": "CO_OCCURS_WITH", "to": 73}, {"from": 66, "title": "CO_OCCURS_WITH", "to": 74}, {"from": 66, "title": "CO_OCCURS_WITH", "to": 75}, {"from": 67, "title": "CO_OCCURS_WITH", "to": 68}, {"from": 67, "title": "CO_OCCURS_WITH", "to": 69}, {"from": 67, "title": "CO_OCCURS_WITH", "to": 70}, {"from": 67, "title": "CO_OCCURS_WITH", "to": 71}, {"from": 67, "title": "CO_OCCURS_WITH", "to": 72}, {"from": 67, "title": "CO_OCCURS_WITH", "to": 73}, {"from": 67, "title": "CO_OCCURS_WITH", "to": 74}, {"from": 67, "title": "CO_OCCURS_WITH", "to": 75}, {"from": 68, "title": "COMPOUND_ELEMENT_OF", "to": 68}, {"from": 68, "title": "CO_OCCURS_WITH", "to": 69}, {"from": 68, "title": "CO_OCCURS_WITH", "to": 70}, {"from": 68, "title": "CO_OCCURS_WITH", "to": 71}, {"from": 68, "title": "CO_OCCURS_WITH", "to": 72}, {"from": 68, "title": "CO_OCCURS_WITH", "to": 73}, {"from": 68, "title": "CO_OCCURS_WITH", "to": 74}, {"from": 68, "title": "CO_OCCURS_WITH", "to": 75}, {"from": 69, "title": "CO_OCCURS_WITH", "to": 70}, {"from": 69, "title": "CO_OCCURS_WITH", "to": 71}, {"from": 69, "title": "CO_OCCURS_WITH", "to": 72}, {"from": 69, "title": "CO_OCCURS_WITH", "to": 73}, {"from": 69, "title": "CO_OCCURS_WITH", "to": 74}, {"from": 69, "title": "CO_OCCURS_WITH", "to": 75}, {"from": 70, "title": "COMPOUND_ELEMENT_OF", "to": 70}, {"from": 70, "title": "CO_OCCURS_WITH", "to": 71}, {"from": 70, "title": "CO_OCCURS_WITH", "to": 72}, {"from": 70, "title": "CO_OCCURS_WITH", "to": 73}, {"from": 70, "title": "CO_OCCURS_WITH", "to": 74}, {"from": 70, "title": "CO_OCCURS_WITH", "to": 75}, {"from": 71, "title": "CO_OCCURS_WITH", "to": 72}, {"from": 71, "title": "CO_OCCURS_WITH", "to": 73}, {"from": 71, "title": "CO_OCCURS_WITH", "to": 74}, {"from": 71, "title": "CO_OCCURS_WITH", "to": 75}, {"from": 72, "title": "COMPOUND_ELEMENT_OF", "to": 72}, {"from": 72, "title": "CO_OCCURS_WITH", "to": 73}, {"from": 72, "title": "CO_OCCURS_WITH", "to": 74}, {"from": 72, "title": "CO_OCCURS_WITH", "to": 75}, {"from": 73, "title": "CO_OCCURS_WITH", "to": 74}, {"from": 73, "title": "CO_OCCURS_WITH", "to": 75}, {"from": 74, "title": "CO_OCCURS_WITH", "to": 75}, {"from": 76, "title": "CO_OCCURS_WITH", "to": 77}, {"from": 77, "title": "COMPOUND_ELEMENT_OF", "to": 77}, {"from": 78, "title": "CO_OCCURS_WITH", "to": 80}, {"from": 78, "title": "CO_OCCURS_WITH", "to": 79}, {"from": 79, "title": "CO_OCCURS_WITH", "to": 80}, {"from": 81, "title": "CO_OCCURS_WITH", "to": 82}, {"from": 83, "title": "CO_OCCURS_WITH", "to": 84}, {"from": 83, "title": "CO_OCCURS_WITH", "to": 85}, {"from": 83, "title": "CO_OCCURS_WITH", "to": 86}, {"from": 83, "title": "CO_OCCURS_WITH", "to": 87}, {"from": 83, "title": "CO_OCCURS_WITH", "to": 88}, {"from": 83, "title": "CO_OCCURS_WITH", "to": 89}, {"from": 83, "title": "CO_OCCURS_WITH", "to": 90}, {"from": 83, "title": "CO_OCCURS_WITH", "to": 91}, {"from": 84, "title": "CO_OCCURS_WITH", "to": 85}, {"from": 84, "title": "CO_OCCURS_WITH", "to": 86}, {"from": 84, "title": "CO_OCCURS_WITH", "to": 87}, {"from": 84, "title": "CO_OCCURS_WITH", "to": 88}, {"from": 84, "title": "CO_OCCURS_WITH", "to": 89}, {"from": 84, "title": "CO_OCCURS_WITH", "to": 90}, {"from": 84, "title": "CO_OCCURS_WITH", "to": 91}, {"from": 85, "title": "CO_OCCURS_WITH", "to": 86}, {"from": 85, "title": "CO_OCCURS_WITH", "to": 87}, {"from": 85, "title": "CO_OCCURS_WITH", "to": 88}, {"from": 85, "title": "CO_OCCURS_WITH", "to": 89}, {"from": 85, "title": "CO_OCCURS_WITH", "to": 90}, {"from": 85, "title": "CO_OCCURS_WITH", "to": 91}, {"from": 86, "title": "CO_OCCURS_WITH", "to": 87}, {"from": 86, "title": "CO_OCCURS_WITH", "to": 88}, {"from": 86, "title": "CO_OCCURS_WITH", "to": 89}, {"from": 86, "title": "CO_OCCURS_WITH", "to": 90}, {"from": 86, "title": "CO_OCCURS_WITH", "to": 91}, {"from": 87, "title": "CO_OCCURS_WITH", "to": 88}, {"from": 87, "title": "CO_OCCURS_WITH", "to": 89}, {"from": 87, "title": "CO_OCCURS_WITH", "to": 90}, {"from": 87, "title": "CO_OCCURS_WITH", "to": 91}, {"from": 88, "title": "CO_OCCURS_WITH", "to": 89}, {"from": 88, "title": "CO_OCCURS_WITH", "to": 90}, {"from": 88, "title": "CO_OCCURS_WITH", "to": 91}, {"from": 89, "title": "CO_OCCURS_WITH", "to": 90}, {"from": 89, "title": "CO_OCCURS_WITH", "to": 91}, {"from": 90, "title": "CO_OCCURS_WITH", "to": 91}, {"from": 92, "title": "CO_OCCURS_WITH", "to": 96}, {"from": 92, "title": "CO_OCCURS_WITH", "to": 97}, {"from": 92, "title": "CO_OCCURS_WITH", "to": 94}, {"from": 92, "title": "CO_OCCURS_WITH", "to": 93}, {"from": 92, "title": "CO_OCCURS_WITH", "to": 95}, {"from": 93, "title": "CO_OCCURS_WITH", "to": 96}, {"from": 93, "title": "CO_OCCURS_WITH", "to": 97}, {"from": 93, "title": "CO_OCCURS_WITH", "to": 94}, {"from": 93, "title": "CO_OCCURS_WITH", "to": 95}, {"from": 94, "title": "CO_OCCURS_WITH", "to": 96}, {"from": 94, "title": "CO_OCCURS_WITH", "to": 97}, {"from": 94, "title": "CO_OCCURS_WITH", "to": 95}, {"from": 95, "title": "CO_OCCURS_WITH", "to": 96}, {"from": 95, "title": "CO_OCCURS_WITH", "to": 97}, {"from": 96, "title": "CO_OCCURS_WITH", "to": 97}, {"from": 98, "title": "CO_OCCURS_WITH", "to": 99}, {"from": 98, "title": "CO_OCCURS_WITH", "to": 100}, {"from": 98, "title": "CO_OCCURS_WITH", "to": 101}, {"from": 98, "title": "CO_OCCURS_WITH", "to": 102}, {"from": 98, "title": "CO_OCCURS_WITH", "to": 103}, {"from": 98, "title": "CO_OCCURS_WITH", "to": 104}, {"from": 98, "title": "CO_OCCURS_WITH", "to": 105}, {"from": 98, "title": "CO_OCCURS_WITH", "to": 106}, {"from": 98, "title": "CO_OCCURS_WITH", "to": 107}, {"from": 98, "title": "CO_OCCURS_WITH", "to": 108}, {"from": 98, "title": "CO_OCCURS_WITH", "to": 109}, {"from": 98, "title": "CO_OCCURS_WITH", "to": 110}, {"from": 98, "title": "CO_OCCURS_WITH", "to": 111}, {"from": 98, "title": "CO_OCCURS_WITH", "to": 112}, {"from": 98, "title": "CO_OCCURS_WITH", "to": 113}, {"from": 98, "title": "CO_OCCURS_WITH", "to": 114}, {"from": 98, "title": "CO_OCCURS_WITH", "to": 115}, {"from": 98, "title": "CO_OCCURS_WITH", "to": 116}, {"from": 98, "title": "CO_OCCURS_WITH", "to": 117}, {"from": 98, "title": "CO_OCCURS_WITH", "to": 118}, {"from": 98, "title": "CO_OCCURS_WITH", "to": 119}, {"from": 98, "title": "CO_OCCURS_WITH", "to": 120}, {"from": 98, "title": "CO_OCCURS_WITH", "to": 121}, {"from": 99, "title": "CO_OCCURS_WITH", "to": 100}, {"from": 99, "title": "CO_OCCURS_WITH", "to": 101}, {"from": 99, "title": "CO_OCCURS_WITH", "to": 102}, {"from": 99, "title": "CO_OCCURS_WITH", "to": 103}, {"from": 99, "title": "CO_OCCURS_WITH", "to": 104}, {"from": 99, "title": "CO_OCCURS_WITH", "to": 105}, {"from": 99, "title": "CO_OCCURS_WITH", "to": 106}, {"from": 99, "title": "CO_OCCURS_WITH", "to": 107}, {"from": 99, "title": "CO_OCCURS_WITH", "to": 108}, {"from": 99, "title": "CO_OCCURS_WITH", "to": 109}, {"from": 99, "title": "CO_OCCURS_WITH", "to": 110}, {"from": 99, "title": "CO_OCCURS_WITH", "to": 111}, {"from": 99, "title": "CO_OCCURS_WITH", "to": 112}, {"from": 99, "title": "CO_OCCURS_WITH", "to": 113}, {"from": 99, "title": "CO_OCCURS_WITH", "to": 114}, {"from": 99, "title": "CO_OCCURS_WITH", "to": 115}, {"from": 99, "title": "CO_OCCURS_WITH", "to": 116}, {"from": 99, "title": "CO_OCCURS_WITH", "to": 117}, {"from": 99, "title": "CO_OCCURS_WITH", "to": 118}, {"from": 99, "title": "CO_OCCURS_WITH", "to": 119}, {"from": 99, "title": "CO_OCCURS_WITH", "to": 120}, {"from": 99, "title": "CO_OCCURS_WITH", "to": 121}, {"from": 100, "title": "CO_OCCURS_WITH", "to": 101}, {"from": 100, "title": "CO_OCCURS_WITH", "to": 102}, {"from": 100, "title": "CO_OCCURS_WITH", "to": 103}, {"from": 100, "title": "CO_OCCURS_WITH", "to": 104}, {"from": 100, "title": "CO_OCCURS_WITH", "to": 105}, {"from": 100, "title": "CO_OCCURS_WITH", "to": 106}, {"from": 100, "title": "CO_OCCURS_WITH", "to": 107}, {"from": 100, "title": "CO_OCCURS_WITH", "to": 108}, {"from": 100, "title": "CO_OCCURS_WITH", "to": 109}, {"from": 100, "title": "CO_OCCURS_WITH", "to": 110}, {"from": 100, "title": "CO_OCCURS_WITH", "to": 111}, {"from": 100, "title": "CO_OCCURS_WITH", "to": 112}, {"from": 100, "title": "CO_OCCURS_WITH", "to": 113}, {"from": 100, "title": "CO_OCCURS_WITH", "to": 114}, {"from": 100, "title": "CO_OCCURS_WITH", "to": 115}, {"from": 100, "title": "CO_OCCURS_WITH", "to": 116}, {"from": 100, "title": "CO_OCCURS_WITH", "to": 117}, {"from": 100, "title": "CO_OCCURS_WITH", "to": 118}, {"from": 100, "title": "CO_OCCURS_WITH", "to": 119}, {"from": 100, "title": "CO_OCCURS_WITH", "to": 120}, {"from": 100, "title": "CO_OCCURS_WITH", "to": 121}, {"from": 101, "title": "CO_OCCURS_WITH", "to": 102}, {"from": 101, "title": "CO_OCCURS_WITH", "to": 103}, {"from": 101, "title": "CO_OCCURS_WITH", "to": 104}, {"from": 101, "title": "CO_OCCURS_WITH", "to": 105}, {"from": 101, "title": "CO_OCCURS_WITH", "to": 106}, {"from": 101, "title": "CO_OCCURS_WITH", "to": 107}, {"from": 101, "title": "CO_OCCURS_WITH", "to": 108}, {"from": 101, "title": "CO_OCCURS_WITH", "to": 109}, {"from": 101, "title": "CO_OCCURS_WITH", "to": 110}, {"from": 101, "title": "CO_OCCURS_WITH", "to": 111}, {"from": 101, "title": "CO_OCCURS_WITH", "to": 112}, {"from": 101, "title": "CO_OCCURS_WITH", "to": 113}, {"from": 101, "title": "CO_OCCURS_WITH", "to": 114}, {"from": 101, "title": "CO_OCCURS_WITH", "to": 115}, {"from": 101, "title": "CO_OCCURS_WITH", "to": 116}, {"from": 101, "title": "CO_OCCURS_WITH", "to": 117}, {"from": 101, "title": "CO_OCCURS_WITH", "to": 118}, {"from": 101, "title": "CO_OCCURS_WITH", "to": 119}, {"from": 101, "title": "CO_OCCURS_WITH", "to": 120}, {"from": 101, "title": "CO_OCCURS_WITH", "to": 121}, {"from": 102, "title": "CO_OCCURS_WITH", "to": 103}, {"from": 102, "title": "CO_OCCURS_WITH", "to": 104}, {"from": 102, "title": "CO_OCCURS_WITH", "to": 105}, {"from": 102, "title": "CO_OCCURS_WITH", "to": 106}, {"from": 102, "title": "CO_OCCURS_WITH", "to": 107}, {"from": 102, "title": "CO_OCCURS_WITH", "to": 108}, {"from": 102, "title": "CO_OCCURS_WITH", "to": 109}, {"from": 102, "title": "CO_OCCURS_WITH", "to": 110}, {"from": 102, "title": "CO_OCCURS_WITH", "to": 111}, {"from": 102, "title": "CO_OCCURS_WITH", "to": 112}, {"from": 102, "title": "CO_OCCURS_WITH", "to": 113}, {"from": 102, "title": "CO_OCCURS_WITH", "to": 114}, {"from": 102, "title": "CO_OCCURS_WITH", "to": 115}, {"from": 102, "title": "CO_OCCURS_WITH", "to": 116}, {"from": 102, "title": "CO_OCCURS_WITH", "to": 117}, {"from": 102, "title": "CO_OCCURS_WITH", "to": 118}, {"from": 102, "title": "CO_OCCURS_WITH", "to": 119}, {"from": 102, "title": "CO_OCCURS_WITH", "to": 120}, {"from": 102, "title": "CO_OCCURS_WITH", "to": 121}, {"from": 103, "title": "CO_OCCURS_WITH", "to": 104}, {"from": 103, "title": "CO_OCCURS_WITH", "to": 105}, {"from": 103, "title": "CO_OCCURS_WITH", "to": 106}, {"from": 103, "title": "CO_OCCURS_WITH", "to": 107}, {"from": 103, "title": "CO_OCCURS_WITH", "to": 108}, {"from": 103, "title": "CO_OCCURS_WITH", "to": 109}, {"from": 103, "title": "CO_OCCURS_WITH", "to": 110}, {"from": 103, "title": "CO_OCCURS_WITH", "to": 111}, {"from": 103, "title": "CO_OCCURS_WITH", "to": 112}, {"from": 103, "title": "CO_OCCURS_WITH", "to": 113}, {"from": 103, "title": "CO_OCCURS_WITH", "to": 114}, {"from": 103, "title": "CO_OCCURS_WITH", "to": 115}, {"from": 103, "title": "CO_OCCURS_WITH", "to": 116}, {"from": 103, "title": "CO_OCCURS_WITH", "to": 117}, {"from": 103, "title": "CO_OCCURS_WITH", "to": 118}, {"from": 103, "title": "CO_OCCURS_WITH", "to": 119}, {"from": 103, "title": "CO_OCCURS_WITH", "to": 120}, {"from": 103, "title": "CO_OCCURS_WITH", "to": 121}, {"from": 104, "title": "COMPOUND_ELEMENT_OF", "to": 104}, {"from": 104, "title": "CO_OCCURS_WITH", "to": 105}, {"from": 104, "title": "CO_OCCURS_WITH", "to": 106}, {"from": 104, "title": "CO_OCCURS_WITH", "to": 107}, {"from": 104, "title": "CO_OCCURS_WITH", "to": 108}, {"from": 104, "title": "CO_OCCURS_WITH", "to": 109}, {"from": 104, "title": "CO_OCCURS_WITH", "to": 110}, {"from": 104, "title": "CO_OCCURS_WITH", "to": 111}, {"from": 104, "title": "CO_OCCURS_WITH", "to": 112}, {"from": 104, "title": "CO_OCCURS_WITH", "to": 113}, {"from": 104, "title": "CO_OCCURS_WITH", "to": 114}, {"from": 104, "title": "CO_OCCURS_WITH", "to": 115}, {"from": 104, "title": "CO_OCCURS_WITH", "to": 116}, {"from": 104, "title": "CO_OCCURS_WITH", "to": 117}, {"from": 104, "title": "CO_OCCURS_WITH", "to": 118}, {"from": 104, "title": "CO_OCCURS_WITH", "to": 119}, {"from": 104, "title": "CO_OCCURS_WITH", "to": 120}, {"from": 104, "title": "CO_OCCURS_WITH", "to": 121}, {"from": 105, "title": "CO_OCCURS_WITH", "to": 106}, {"from": 105, "title": "CO_OCCURS_WITH", "to": 107}, {"from": 105, "title": "CO_OCCURS_WITH", "to": 108}, {"from": 105, "title": "CO_OCCURS_WITH", "to": 109}, {"from": 105, "title": "CO_OCCURS_WITH", "to": 110}, {"from": 105, "title": "CO_OCCURS_WITH", "to": 111}, {"from": 105, "title": "CO_OCCURS_WITH", "to": 112}, {"from": 105, "title": "CO_OCCURS_WITH", "to": 113}, {"from": 105, "title": "CO_OCCURS_WITH", "to": 114}, {"from": 105, "title": "CO_OCCURS_WITH", "to": 115}, {"from": 105, "title": "CO_OCCURS_WITH", "to": 116}, {"from": 105, "title": "CO_OCCURS_WITH", "to": 117}, {"from": 105, "title": "CO_OCCURS_WITH", "to": 118}, {"from": 105, "title": "CO_OCCURS_WITH", "to": 119}, {"from": 105, "title": "CO_OCCURS_WITH", "to": 120}, {"from": 105, "title": "CO_OCCURS_WITH", "to": 121}, {"from": 106, "title": "CO_OCCURS_WITH", "to": 107}, {"from": 106, "title": "CO_OCCURS_WITH", "to": 108}, {"from": 106, "title": "CO_OCCURS_WITH", "to": 109}, {"from": 106, "title": "CO_OCCURS_WITH", "to": 110}, {"from": 106, "title": "CO_OCCURS_WITH", "to": 111}, {"from": 106, "title": "CO_OCCURS_WITH", "to": 112}, {"from": 106, "title": "CO_OCCURS_WITH", "to": 113}, {"from": 106, "title": "CO_OCCURS_WITH", "to": 114}, {"from": 106, "title": "CO_OCCURS_WITH", "to": 115}, {"from": 106, "title": "CO_OCCURS_WITH", "to": 116}, {"from": 106, "title": "CO_OCCURS_WITH", "to": 117}, {"from": 106, "title": "CO_OCCURS_WITH", "to": 118}, {"from": 106, "title": "CO_OCCURS_WITH", "to": 119}, {"from": 106, "title": "CO_OCCURS_WITH", "to": 120}, {"from": 106, "title": "CO_OCCURS_WITH", "to": 121}, {"from": 107, "title": "CO_OCCURS_WITH", "to": 108}, {"from": 107, "title": "CO_OCCURS_WITH", "to": 109}, {"from": 107, "title": "CO_OCCURS_WITH", "to": 110}, {"from": 107, "title": "CO_OCCURS_WITH", "to": 111}, {"from": 107, "title": "CO_OCCURS_WITH", "to": 112}, {"from": 107, "title": "CO_OCCURS_WITH", "to": 113}, {"from": 107, "title": "CO_OCCURS_WITH", "to": 114}, {"from": 107, "title": "CO_OCCURS_WITH", "to": 115}, {"from": 107, "title": "CO_OCCURS_WITH", "to": 116}, {"from": 107, "title": "CO_OCCURS_WITH", "to": 117}, {"from": 107, "title": "CO_OCCURS_WITH", "to": 118}, {"from": 107, "title": "CO_OCCURS_WITH", "to": 119}, {"from": 107, "title": "CO_OCCURS_WITH", "to": 120}, {"from": 107, "title": "CO_OCCURS_WITH", "to": 121}, {"from": 108, "title": "CO_OCCURS_WITH", "to": 109}, {"from": 108, "title": "CO_OCCURS_WITH", "to": 110}, {"from": 108, "title": "CO_OCCURS_WITH", "to": 111}, {"from": 108, "title": "CO_OCCURS_WITH", "to": 112}, {"from": 108, "title": "CO_OCCURS_WITH", "to": 113}, {"from": 108, "title": "CO_OCCURS_WITH", "to": 114}, {"from": 108, "title": "CO_OCCURS_WITH", "to": 115}, {"from": 108, "title": "CO_OCCURS_WITH", "to": 116}, {"from": 108, "title": "CO_OCCURS_WITH", "to": 117}, {"from": 108, "title": "CO_OCCURS_WITH", "to": 118}, {"from": 108, "title": "CO_OCCURS_WITH", "to": 119}, {"from": 108, "title": "CO_OCCURS_WITH", "to": 120}, {"from": 108, "title": "CO_OCCURS_WITH", "to": 121}, {"from": 109, "title": "CO_OCCURS_WITH", "to": 110}, {"from": 109, "title": "CO_OCCURS_WITH", "to": 111}, {"from": 109, "title": "CO_OCCURS_WITH", "to": 112}, {"from": 109, "title": "CO_OCCURS_WITH", "to": 113}, {"from": 109, "title": "CO_OCCURS_WITH", "to": 114}, {"from": 109, "title": "CO_OCCURS_WITH", "to": 115}, {"from": 109, "title": "CO_OCCURS_WITH", "to": 116}, {"from": 109, "title": "CO_OCCURS_WITH", "to": 117}, {"from": 109, "title": "CO_OCCURS_WITH", "to": 118}, {"from": 109, "title": "CO_OCCURS_WITH", "to": 119}, {"from": 109, "title": "CO_OCCURS_WITH", "to": 120}, {"from": 109, "title": "CO_OCCURS_WITH", "to": 121}, {"from": 110, "title": "CO_OCCURS_WITH", "to": 111}, {"from": 110, "title": "CO_OCCURS_WITH", "to": 112}, {"from": 110, "title": "CO_OCCURS_WITH", "to": 113}, {"from": 110, "title": "CO_OCCURS_WITH", "to": 114}, {"from": 110, "title": "CO_OCCURS_WITH", "to": 115}, {"from": 110, "title": "CO_OCCURS_WITH", "to": 116}, {"from": 110, "title": "CO_OCCURS_WITH", "to": 117}, {"from": 110, "title": "CO_OCCURS_WITH", "to": 118}, {"from": 110, "title": "CO_OCCURS_WITH", "to": 119}, {"from": 110, "title": "CO_OCCURS_WITH", "to": 120}, {"from": 110, "title": "CO_OCCURS_WITH", "to": 121}, {"from": 111, "title": "CO_OCCURS_WITH", "to": 112}, {"from": 111, "title": "CO_OCCURS_WITH", "to": 113}, {"from": 111, "title": "CO_OCCURS_WITH", "to": 114}, {"from": 111, "title": "CO_OCCURS_WITH", "to": 115}, {"from": 111, "title": "CO_OCCURS_WITH", "to": 116}, {"from": 111, "title": "CO_OCCURS_WITH", "to": 117}, {"from": 111, "title": "CO_OCCURS_WITH", "to": 118}, {"from": 111, "title": "CO_OCCURS_WITH", "to": 119}, {"from": 111, "title": "CO_OCCURS_WITH", "to": 120}, {"from": 111, "title": "CO_OCCURS_WITH", "to": 121}, {"from": 112, "title": "CO_OCCURS_WITH", "to": 113}, {"from": 112, "title": "CO_OCCURS_WITH", "to": 114}, {"from": 112, "title": "CO_OCCURS_WITH", "to": 115}, {"from": 112, "title": "CO_OCCURS_WITH", "to": 116}, {"from": 112, "title": "CO_OCCURS_WITH", "to": 117}, {"from": 112, "title": "CO_OCCURS_WITH", "to": 118}, {"from": 112, "title": "CO_OCCURS_WITH", "to": 119}, {"from": 112, "title": "CO_OCCURS_WITH", "to": 120}, {"from": 112, "title": "CO_OCCURS_WITH", "to": 121}, {"from": 113, "title": "CO_OCCURS_WITH", "to": 114}, {"from": 113, "title": "CO_OCCURS_WITH", "to": 115}, {"from": 113, "title": "CO_OCCURS_WITH", "to": 116}, {"from": 113, "title": "CO_OCCURS_WITH", "to": 117}, {"from": 113, "title": "CO_OCCURS_WITH", "to": 118}, {"from": 113, "title": "CO_OCCURS_WITH", "to": 119}, {"from": 113, "title": "CO_OCCURS_WITH", "to": 120}, {"from": 113, "title": "CO_OCCURS_WITH", "to": 121}, {"from": 114, "title": "CO_OCCURS_WITH", "to": 115}, {"from": 114, "title": "CO_OCCURS_WITH", "to": 116}, {"from": 114, "title": "CO_OCCURS_WITH", "to": 117}, {"from": 114, "title": "CO_OCCURS_WITH", "to": 118}, {"from": 114, "title": "CO_OCCURS_WITH", "to": 119}, {"from": 114, "title": "CO_OCCURS_WITH", "to": 120}, {"from": 114, "title": "CO_OCCURS_WITH", "to": 121}, {"from": 115, "title": "CO_OCCURS_WITH", "to": 116}, {"from": 115, "title": "CO_OCCURS_WITH", "to": 117}, {"from": 115, "title": "CO_OCCURS_WITH", "to": 118}, {"from": 115, "title": "CO_OCCURS_WITH", "to": 119}, {"from": 115, "title": "CO_OCCURS_WITH", "to": 120}, {"from": 115, "title": "CO_OCCURS_WITH", "to": 121}, {"from": 116, "title": "CO_OCCURS_WITH", "to": 117}, {"from": 116, "title": "CO_OCCURS_WITH", "to": 118}, {"from": 116, "title": "CO_OCCURS_WITH", "to": 119}, {"from": 116, "title": "CO_OCCURS_WITH", "to": 120}, {"from": 116, "title": "CO_OCCURS_WITH", "to": 121}, {"from": 117, "title": "CO_OCCURS_WITH", "to": 118}, {"from": 117, "title": "CO_OCCURS_WITH", "to": 119}, {"from": 117, "title": "CO_OCCURS_WITH", "to": 120}, {"from": 117, "title": "CO_OCCURS_WITH", "to": 121}, {"from": 118, "title": "CO_OCCURS_WITH", "to": 119}, {"from": 118, "title": "CO_OCCURS_WITH", "to": 120}, {"from": 118, "title": "CO_OCCURS_WITH", "to": 121}, {"from": 119, "title": "CO_OCCURS_WITH", "to": 120}, {"from": 119, "title": "CO_OCCURS_WITH", "to": 121}, {"from": 120, "title": "CO_OCCURS_WITH", "to": 121}]);
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);
network.on("stabilizationProgress", function(params) {
document.getElementById('loadingBar').removeAttribute("style");
var maxWidth = 496;
var minWidth = 20;
var widthFactor = params.iterations/params.total;
var width = Math.max(minWidth,maxWidth * widthFactor);
document.getElementById('bar').style.width = width + 'px';
document.getElementById('text').innerHTML = Math.round(widthFactor*100) + '%';
});
network.once("stabilizationIterationsDone", function() {
document.getElementById('text').innerHTML = '100%';
document.getElementById('bar').style.width = '496px';
document.getElementById('loadingBar').style.opacity = 0;
// really clean the dom element
setTimeout(function () {document.getElementById('loadingBar').style.display = 'none';}, 500);
});
return network;
}
drawGraph();
</script>
</body>
</html>