ew vis.DataSet( [
{"from":1, "to":2, "label":"rdf:type"},
{"from":1, "to":3, "label":"dc:identifier"},
{"from":1, "to":4, "label":"gn:category"},
{"from":1, "to":5, "label":"gn:class"},
{"from":1, "to":6, "label":"gn:hasMember"},
{"from":1, "to":7, "label":"gn:has_hypernym"},
{"from":1, "to":8, "label":"gn:has_hyponym"},
{"from":1, "to":9, "label":"gn:has_hyponym"},
{"from":1, "to":10, "label":"gn:has_hyponym"},
{"from":1, "to":11, "label":"gn:has_hyponym"},
{"from":1, "to":12, "label":"gn:has_hyponym"},
{"from":1, "to":13, "label":"gn:has_hyponym"},
{"from":1, "to":14, "label":"gn:has_hyponym"},
{"from":1, "to":15, "label":"gn:has_hyponym"},
{"from":1, "to":16, "label":"gn:has_hyponym"},
{"from":1, "to":17, "label":"gn:has_hyponym"},
{"from":1, "to":18, "label":"gn:has_hyponym"},
{"from":1, "to":19, "label":"gn:has_hyponym"},
{"from":1, "to":20, "label":"gn:has_hyponym"},
{"from":1, "to":21, "label":"gn:has_hyponym"},
{"from":1, "to":22, "label":"gn:has_hyponym"},
{"from":1, "to":23, "label":"gn:has_hyponym"},
{"from":1, "to":24, "label":"gn:has_hyponym"},
{"from":1, "to":25, "label":"gn:has_hyponym"},
{"from":1, "to":26, "label":"gn:has_hyponym"},
{"from":1, "to":27, "label":"gn:has_hyponym"},
{"from":1, "to":28, "label":"gn:has_hyponym"},
{"from":1, "to":29, "label":"gn:has_hyponym"},
{"from":1, "to":30, "label":"gn:has_hyponym"}
]);
var container = document.getElementById("mynetwork");
var data = {
nodes: nodes,
edges: edges,
};
var options = {
layout: {
hierarchical: {
direction: "LR",
},
},
edges: {
smooth: true,
arrows: { to: true },
},
};
var network = new vis.Network(container, data, options);