{
const links = [
{ from: 1, to: 2, arrows: "to", width: 1 },
{ from: 1, to: 2, arrows: "to", width: 2 },
{ from: 1, to: 2, arrows: "to", width: 3 }
];
const nodos = [
{ id: 1, label: "1", title: "TP 1..." },
{ id: 2, label: "2", title: "TP 2..." }
];
const nodes = new vis.DataSet(nodos);
const edges = new vis.DataSet(links);
const container = document.getElementById("mynetwork");
const data = {
nodes: nodes,
edges: edges
};
const options = {};
const network = new vis.Network(container, data, options);
}