R/toposearch.R
simplify_graph.Rd
Nodes with in and out degree of one will be removed.
simplify_graph(graph)
an igraph object
simple = simplify_graph(example_igraph) plot_graph(example_igraph) plot_graph(simple)