Trait rs_graph::draw::GraphDrawer [−][src]
pub trait GraphDrawer<'a, G> where
G: GraphType<'a>, { type NodeAttr: NodeAttr; type EdgeAttr: EdgeAttr; fn node_default(&self) -> &Self::NodeAttr; fn node_default_mut(&mut self) -> &mut Self::NodeAttr; fn node(&self, u: G::Node) -> &Self::NodeAttr; fn node_mut(&mut self, u: G::Node) -> &mut Self::NodeAttr; fn edge_default(&self) -> &Self::EdgeAttr; fn edge_default_mut(&mut self) -> &mut Self::EdgeAttr; fn edge(&self, e: G::Edge) -> &Self::EdgeAttr; fn edge_mut(&mut self, e: G::Edge) -> &mut Self::EdgeAttr; fn add_drawing(&mut self); }
Trait for drawing sequences of graphs.
Associated Types
Loading content...Required methods
fn node_default(&self) -> &Self::NodeAttr[src]
Return the default node attribute.
fn node_default_mut(&mut self) -> &mut Self::NodeAttr[src]
Return the default node attribute.
fn node(&self, u: G::Node) -> &Self::NodeAttr[src]
Return the attributes of a node.
fn node_mut(&mut self, u: G::Node) -> &mut Self::NodeAttr[src]
Return the attributes of a node.
fn edge_default(&self) -> &Self::EdgeAttr[src]
Return the default edge attribute.
fn edge_default_mut(&mut self) -> &mut Self::EdgeAttr[src]
Return the default edge attribute.
fn edge(&self, e: G::Edge) -> &Self::EdgeAttr[src]
Return the attributes of an edge.
fn edge_mut(&mut self, e: G::Edge) -> &mut Self::EdgeAttr[src]
Return the attributes of an edge.
fn add_drawing(&mut self)[src]
Add drawing with current attributes.