pub(crate) fn edge_set_color_(&self, edge_id: Option<EdgeIndex>, color: ColorType) {
        if edge_id.is_none() {
            return;
        }
        if let Some(edgecell) = self._edge_get(edge_id) {
            let mut edge = edgecell.get();
            let _ = edge.set_color(color);
            edgecell.set(edge);
        }
    }
/// Sets the color field with new value
Sets the color field with new value
Sets the color field with new value
pub(crate) fn edge_set_color_(&self, edge_id: Option<EdgeIndex>, color: ColorType) {
        if edge_id.is_none() {
            return;
        }
        if let Some(edgecell) = self._edge_get(edge_id) {
            let mut edge = edgecell.get();
            let _ = edge.set_color(color);
            edgecell.set(edge);
        }
    }
pub ( crate ) fn edge_set_color_ ( & self , edge_id : Option < EdgeIndex > , color : ColorType ) { if edge_id . is_none ( ) { return ; } if let Some ( edgecell ) = self . _edge_get ( edge_id ) { let mut edge = edgecell . get ( ) ; let _ = edge . set_color ( color ) ; edgecell . set ( edge ) ; } }
Sets the color field with new value
Sets the color field with new value
&self
edge_id
Option<EdgeIndex>
color
ColorType