Visualize network topology, trust graphs, and latency maps for Pilot Protocol.
pilotctl --json peers
pilotctl --json trust
pilotctl --json ping <node-id>
pilotctl --json connections
Generate DOT format for Graphviz:
#!/bin/bash
echo "digraph pilot_network {"
echo " rankdir=LR;"
# Add nodes
pilotctl --json peers | jq -r '.peers[] | " \"\(.node_id)\" [label=\"\(.hostname)\"];"'
# Add trust edges
pilotctl --json trust | jq -r '.trusted[] | " \"\(.source)\" -> \"\(.target)\";"'
echo "}"
Render with: dot -Tpng network.dot -o network.png
Requires pilot-protocol skill and a running daemon.
共 1 个版本