Switched vertical bar character in network graph

This commit is contained in:
Zakary Timson 2022-04-26 16:36:01 -04:00
parent 9e36bfe302
commit 5a68d021b9

View File

@ -80,7 +80,7 @@ export async function main(ns) {
const last = i == nodes.length - 1; const last = i == nodes.length - 1;
const branch = last ? '└─ ' : '├─ '; const branch = last ? '└─ ' : '├─ ';
htmlPrint(spacer + branch + `<a class="${color(server)}" onclick="${connectFn(server)}">${server + stats}</a>`); htmlPrint(spacer + branch + `<a class="${color(server)}" onclick="${connectFn(server)}">${server + stats}</a>`);
render(tree[server], spacer + (last ? ' ' : '| ')); render(tree[server], spacer + (last ? ' ' : ' '));
} }
} }