fn changed_selection(&mut self, old_selection: usize, new_selection: usize) {
        if self.graph_mode == GraphMode::Overview {
            for index in 0..self.nodes.len() {
                if index == old_selection || index == new_selection {
                    self.nodes[index].dirty = true;
                    self.dirty = true;
                }
            }
        }
    }
/// Marks the two nodes as dirty
Marks the two nodes as dirty
Marks the two nodes as dirty
fn changed_selection(&mut self, old_selection: usize, new_selection: usize) {
        if self.graph_mode == GraphMode::Overview {
            for index in 0..self.nodes.len() {
                if index == old_selection || index == new_selection {
                    self.nodes[index].dirty = true;
                    self.dirty = true;
                }
            }
        }
    }
fn changed_selection ( & mut self , old_selection : usize , new_selection : usize ) { if self . graph_mode == GraphMode :: Overview { for index in 0 .. self . nodes . len ( ) { if index == old_selection || index == new_selection { self . nodes [ index ] . dirty = true ; self . dirty = true ; } } } }
Marks the two nodes as dirty
Marks the two nodes as dirty
&mut self
old_selection
usize
new_selection
usize
&mut self
old_selection
usize
new_selection
usize