diff --git a/dist/index.html b/dist/index.html
index 55d24b4..2766e18 100644
--- a/dist/index.html
+++ b/dist/index.html
@@ -47,8 +47,8 @@
'#05979A',
]
for (const i in graph.nodes) {
- if (graph.nodes[i].label === domain) graph.nodes[i].color = '#BF616A';
- else graph.nodes[i].color = palette[Math.floor(Math.random() * palette.length)];;
+ if (graph.nodes[i].label === domain) { graph.nodes[i].color = '#BF616A' }
+ else { graph.nodes[i].color = palette[Math.floor(Math.random() * palette.length)] }
}
const nodes = new vis.DataSet(graph.nodes);
@@ -60,9 +60,8 @@
nodes: nodes,
edges: edges,
};
- const options = { edges: { dashes: true, arrows: 'to' }, nodes: { mass: 2, color: "#bf616a", shape: "box" }};
+ const options = { edges: { dashes: true, arrows: 'to' }, nodes: { color: "#bf616a", shape: "box", scaling: { min: 1, max: 500, label: { enabled: true, min: 14, max: 56 }}}};
const network = new vis.Network(container, data, options);
- document.getElementById("loader").remove();
}))