Switched vertical bar character in network graph
This commit is contained in:
parent
9e36bfe302
commit
5a68d021b9
@ -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 ? ' ' : '│ '));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user