FaultDiagnosis.
rm_nodes
Remove nodes from the graph in a depth first search way to propagate the perturbation.
node (str) – the id of the node to remove.
graph (nx.DiGraph) – graph on which to apply the node deletion
visited (set, optional) – nodes already visited, default to None.
broken_nodes (list, optional) – nodes that got broken along the perturbation, default to None.