This PR aims to improve accuracy and readability of the network table from the NetworkTab.
The first step was to no longer filter out "best" connections (which were determined by the slowest ping in each node's connection table). This was an invalid strategy, as doing so didn't consider that, at times, the only path to a node is through a slower option.
Description
This PR aims to improve accuracy and readability of the network table from the
NetworkTab
.The first step was to no longer filter out "best" connections (which were determined by the slowest ping in each node's connection table). This was an invalid strategy, as doing so didn't consider that, at times, the only path to a node is through a slower option.
The second step is to remove duplicated nodes.
I tested it by defining the stub network table:
Upon rendering it in the FE, we see three branches in the "all connections" filter:
"A" -> (B is omitted) -> "C" -> "D"
: the LAN connections"B"
: the BLE connections"F" -> "G"
: the internet connections frompeer5
andpeer6
B
is omitted from the LAN path, because:To improve readability, he's omitted from the LAN path and render as a standalone node in the BLE path.
@MathJud let me know if you'd like this behavior to change.
https://github.com/qaul/qaul.net/assets/54450520/1cb0273f-2359-4418-a6a4-616b764ce1d1