Function write_dot_format_digraph
Source pub fn write_dot_format_digraph<N, E, Ix, P>(
graph: &DiGraph<N, E, Ix>,
path: P,
weighted: bool,
) -> Result<()>
Expand description
Write a directed graph to DOT format
§Arguments
graph - The directed graph to write
path - Path to the output file
weighted - Whether to include edge weights in attributes
§Returns
Ok(()) - If the graph was written successfully
Err(GraphError) - If there was an error writing the file