pub struct GraphvizBuilder { /* private fields */ }
Implementations§
Source§impl GraphvizBuilder
impl GraphvizBuilder
pub fn next_id(&mut self) -> usize
pub fn start_graph(&mut self, f: &mut Formatter<'_>) -> Result
pub fn end_graph(&mut self, f: &mut Formatter<'_>) -> Result
pub fn start_cluster(&mut self, f: &mut Formatter<'_>, title: &str) -> Result
pub fn end_cluster(&mut self, f: &mut Formatter<'_>) -> Result
Sourcepub fn quoted(label: &str) -> String
pub fn quoted(label: &str) -> String
makes a quoted string suitable for inclusion in a graphviz chart
pub fn add_node( &self, f: &mut Formatter<'_>, id: usize, label: &str, tooltip: Option<&str>, ) -> Result
pub fn add_edge( &self, f: &mut Formatter<'_>, from_id: usize, to_id: usize, ) -> Result
Trait Implementations§
Source§impl Default for GraphvizBuilder
impl Default for GraphvizBuilder
Source§fn default() -> GraphvizBuilder
fn default() -> GraphvizBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GraphvizBuilder
impl RefUnwindSafe for GraphvizBuilder
impl Send for GraphvizBuilder
impl Sync for GraphvizBuilder
impl Unpin for GraphvizBuilder
impl UnwindSafe for GraphvizBuilder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more