Trait rs_graph::draw::GraphDrawer [] [src]

pub trait GraphDrawer<'a, G> where
    G: Graph<'a>, 
{ fn set_node(&mut self, u: G::Node, info: NodeInfo);
fn set_edge(&mut self, a: G::Edge, info: EdgeInfo);
fn add_drawing(&mut self); fn set_node_point(&mut self, u: G::Node, point: Point) { ... }
fn set_node_name(&mut self, u: G::Node, name: String) { ... }
fn set_node_label(&mut self, u: G::Node, label: usize) { ... }
fn set_node_value(&mut self, u: G::Node, value: String) { ... }
fn set_edge_label(&mut self, u: G::Edge, label: usize) { ... }
fn set_edge_value(&mut self, e: G::Edge, value: String) { ... } }

Trait for drawing sequences of graphs.

Required Methods

Update node attributes.

Update edge attributes.

Add drawing with current attributes.

Provided Methods

Set the point of a node.

Set the name of a node.

Set the label of a node.

Set the value of a node.

Set the label of an edge.

Set the value of an edge.

Implementors