Skip to main content

Module graphviz

Module graphviz 

Source

Re-exportsยง

use std::io; ๐Ÿ”’
use std::io::Write; ๐Ÿ”’
use gsgdt::GraphvizSettings; ๐Ÿ”’
use rustc_graphviz as dot; ๐Ÿ”’
use super::generic_graph::mir_fn_to_generic_graph; ๐Ÿ”’
use crate::mir::*; ๐Ÿ”’

Functionsยง

escape ๐Ÿ”’
write_graph_label ๐Ÿ”’
Write the graphviz DOT label for the overall graph. This is essentially a block of text that will appear below the graph, showing the type of the fn this MIR represents and the types of all the variables and temporaries.
write_mir_fn_graphviz
Write a graphviz DOT graph of the MIR.
write_mir_graphviz
Write a graphviz DOT graph of a list of MIRs.