pub struct GraphVizExporter { /* private fields */ }
Expand description
GraphViz exporter for generating DOT format graphs
Implementations§
Source§impl GraphVizExporter
impl GraphVizExporter
Sourcepub fn with_config(config: GraphVizConfig) -> Self
pub fn with_config(config: GraphVizConfig) -> Self
Create a GraphViz exporter with custom configuration
Sourcepub fn export_nodes_and_edges(
&self,
nodes: &[Node],
edges: &[Edge],
) -> Result<String>
pub fn export_nodes_and_edges( &self, nodes: &[Node], edges: &[Edge], ) -> Result<String>
Export nodes and edges to GraphViz DOT format
Sourcepub fn export_with_options(
&self,
nodes: &[Node],
edges: &[Edge],
options: &GraphVizOptions,
) -> Result<String>
pub fn export_with_options( &self, nodes: &[Node], edges: &[Edge], options: &GraphVizOptions, ) -> Result<String>
Export with custom options
Trait Implementations§
Source§impl Clone for GraphVizExporter
impl Clone for GraphVizExporter
Source§fn clone(&self) -> GraphVizExporter
fn clone(&self) -> GraphVizExporter
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for GraphVizExporter
impl Debug for GraphVizExporter
Auto Trait Implementations§
impl Freeze for GraphVizExporter
impl RefUnwindSafe for GraphVizExporter
impl Send for GraphVizExporter
impl Sync for GraphVizExporter
impl Unpin for GraphVizExporter
impl UnwindSafe for GraphVizExporter
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more