Trait falcon::graph::Edge

source ·
pub trait Edge: Clone + Sync {
    // Required methods
    fn head(&self) -> usize;
    fn tail(&self) -> usize;
    fn dot_label(&self) -> String;

    // Provided methods
    fn dot_style(&self) -> String { ... }
    fn dot_fill_color(&self) -> String { ... }
    fn dot_font_color(&self) -> String { ... }
    fn dot_pen_width(&self) -> f64 { ... }
}

Required Methods§

source

fn head(&self) -> usize

The index of the head vertex.

source

fn tail(&self) -> usize

The index of the tail vertex.

source

fn dot_label(&self) -> String

A string to display in dot graphviz format.

Provided Methods§

Implementors§