"}, {"from":1, "to":13, "label":"gn:source"}, {"from":1, "to":14, "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);