Skip to main content

export_dot

Function export_dot 

Source
pub fn export_dot<N, E, Ix>(
    graph: &Graph<N, E, Ix>,
    config: &DotConfig,
    layout: Option<&GraphLayout<N>>,
) -> Result<String>
where N: Node + Clone + Debug + Display + Hash + Eq, E: EdgeWeight + Clone + Into<f64>, Ix: IndexType,
Expand description

Export a graph to DOT format with optional layout hints

§Arguments

  • graph - The graph to export
  • config - DOT export configuration
  • layout - Optional layout for position hints

§Returns

A String containing valid DOT format