Function write_dot_format
Source pub fn write_dot_format<N, E, Ix, P>(
graph: &Graph<N, E, Ix>,
path: P,
weighted: bool,
) -> Result<()>
Expand description
Write an undirected graph to DOT format
§Arguments
graph - The 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