Returns the dependency nodes that are used to compute the value in the current node. # Returns Vector of nodes used by the node to perform its operation
(&self)
| 436 | /// |
| 437 | /// Vector of nodes used by the node to perform its operation |
| 438 | pub fn get_node_dependencies(&self) -> Vec<Node> { |
| 439 | self.body |
| 440 | .borrow() |
| 441 | .node_dependencies |
| 442 | .iter() |
| 443 | .map(|n| n.upgrade()) |
| 444 | .collect() |
| 445 | } |
| 446 | |
| 447 | /// Returns the dependency graphs that are used to compute the value in the current node. |
| 448 | /// |