Skip to main content

graph

Function graph 

Source
pub(crate) async fn graph(
    __arg0: State<Arc<InternalState>>,
    __arg1: Query<GraphQueryRequest>,
) -> impl IntoResponse
Expand description

Returns the network graph in DOT (Graphviz) format.

Only connected nodes (those with at least one edge) are included. Nodes are labeled by their on-chain (Ethereum) address when resolvable, falling back to the offchain public key hex representation. Edges carry quality annotations: score, latency (ms), and capacity when available.

Pass ?reachableOnly=true to limit the output to edges reachable from this node.