Searched refs:add_node (Results 1 – 2 of 2) sorted by relevance
32 pub fn add_node(&mut self, value: usize) -> usize { in add_node() method87 let s = self.add_node(unit); in add_edges()88 let t = self.add_node(*target); in add_edges()104 graph.add_node(uid); in construct_graph()
33 pub fn add_node(&mut self, value: &String) -> usize { in add_node() method93 let s = self.add_node(&path); in add_edges()94 let t = self.add_node(&target); in add_edges()113 graph.add_node(&unit); in construct_graph()