Skip to main content

render_dot

Function render_dot 

Source
pub fn render_dot(graph: &ChannelGraph) -> String
Expand description

Renders the connected subgraph of graph as a DOT (Graphviz) digraph.

Isolated nodes (those with no incoming or outgoing edges) are excluded. Each node is labeled with OffchainPublicKey in hex. Edges carry quality annotations: score, latency (ms), and capacity when available.