Function ptree::graph::write_graph_with
source · [−]pub fn write_graph_with<N, E, Ty, Ix, W: Write>(
graph: &Graph<N, E, Ty, Ix>,
start: NodeIndex<Ix>,
f: W,
config: &PrintConfig
) -> Result<()> where
Ty: EdgeType,
Ix: IndexType,
N: Clone + Display,
E: Clone, Expand description
Write graph, starting at node start, to writer f using custom formatting