pub fn graphviz_alone(
        &self,
        db: &dyn crate::Db,
        include_temporaries: bool,
        diff_against: Option<&HeapGraph>,
    ) -> String {
        let mut output = vec![];
        let mut writer = GraphvizWriter {
            diff_against,
            db,
            name_prefix: "",
            writer: &mut std::io::Cursor::new(&mut output),
            indent: 0,
            include_temporaries,
            node_queue: Default::default(),
            node_set: Default::default(),
            permissions: Default::default(),
            value_edge_list: vec![],
        };
        self.to_graphviz(&mut writer, |w| self.stack_and_heap(w))
            .unwrap();
        String::from_utf8(output).unwrap()
    }
/// Plots this heap-graph by itself.
///
/// # Parameters
///
/// * `db` -- the salsa database
/// * `include_temporaries` -- if true, print temporaries into output (verbose, hard to understand, good for debugging)
/// * `diff_against` -- if `Some`, another graphviz to "diff" against, this effects the colors of things
Plots this heap-graph by itself.
Plots this heap - graph by itself .
pub fn graphviz_alone(
        &self,
        db: &dyn crate::Db,
        include_temporaries: bool,
        diff_against: Option<&HeapGraph>,
    ) -> String {
        let mut output = vec![];
        let mut writer = GraphvizWriter {
            diff_against,
            db,
            name_prefix: "",
            writer: &mut std::io::Cursor::new(&mut output),
            indent: 0,
            include_temporaries,
            node_queue: Default::default(),
            node_set: Default::default(),
            permissions: Default::default(),
            value_edge_list: vec![],
        };
        self.to_graphviz(&mut writer, |w| self.stack_and_heap(w))
            .unwrap();
        String::from_utf8(output).unwrap()
    }
pub fn graphviz_alone ( & self , db : & dyn crate :: Db , include_temporaries : bool , diff_against : Option < & HeapGraph > , ) -> String { let mut output = vec ! [ ] ; let mut writer = GraphvizWriter { diff_against , db , name_prefix : " " , writer : & mut std :: io :: Cursor :: new ( & mut output ) , indent : 0 , include_temporaries , node_queue : Default :: default ( ) , node_set : Default :: default ( ) , permissions : Default :: default ( ) , value_edge_list : vec ! [ ] , } ; self . to_graphviz ( & mut writer , | w | self . stack_and_heap ( w ) ) . unwrap ( ) ; String :: from_utf8 ( output ) . unwrap ( ) }
Plots this heap-graph by itself.
Plots this heap - graph by itself .
&self
db
&dyn crate::Db
include_temporaries
bool
diff_against
Option<&HeapGraph>
&self
db
&dyn crate::Db
include_temporaries
bool
diff_against
Option<&HeapGraph>