"from":1, "to":14, "label":"gn:hasPWN30Id"}, {"from":1, "to":15, "label":"gn:hasPWN31Id"}, {"from":1, "to":16, "label":"gn:hasPWNWord"}, {"from":1, "to":17, "label":"gn:hasSource"}, {"from":1, "to":18, "label":"gn:isMemberOf"}, {"from":1, "to":19, "label":"gn:namedEntity"}, {"from":1, "to":20, "label":"gn:oldOrthForm"}, {"from":1, "to":21, "label":"gn:orthForm"}, {"from":1, "to":22, "label":"gn:sense"}, {"from":1, "to":23, "label":"gn:source"}, {"from":1, "to":24, "label":"gn:styleMarking"} ]); 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);