Skip to main content

render_dot_reachable_with_labels

Function render_dot_reachable_with_labels 

Source
pub fn render_dot_reachable_with_labels(
    graph: &ChannelGraph,
    label_fn: impl Fn(&OffchainPublicKey) -> String,
) -> String
Expand description

Like render_dot_with_labels, but only includes edges reachable from the current node via directed BFS. Disconnected subgraphs are excluded.