yout: { hierarchical: { direction: "LR", }, }, edges: { smooth: true, arrows: { to: true }, }, }; var network = new vis.Network(container, data, options);