Skip to main content

Module render

Module render 

Source
Expand description

DOT (Graphviz) rendering for the channel graph.

Gated behind the graph-api feature.

Functionsยง

render_dot
Renders the connected subgraph of graph as a DOT (Graphviz) digraph.
render_dot_reachable_with_labels
Like render_dot_with_labels, but only includes edges reachable from the current node via directed BFS. Disconnected subgraphs are excluded.
render_dot_with_labels
Renders the connected subgraph of graph as a DOT digraph, using the provided label_fn to produce the node label for each [OffchainPublicKey].
render_edges_as_dot