(&mut self, edge: &EdgeIndex)
| 216 | } |
| 217 | |
| 218 | pub fn increase_edge_count(&mut self, edge: &EdgeIndex) { |
| 219 | let edge_weight = self.graph.edge_weight_mut(*edge).unwrap(); |
| 220 | edge_weight.count += 1; |
| 221 | } |
| 222 | |
| 223 | /// Visualize this ADG to a Graphviz format file and translate it to PNG. |
| 224 | /// verbose_edge: whether dump the edge weights. |