A new graph with diff applied to graph. Vertex and edge attributes of what stays are kept; added vertices and edges carry none. Throws GraphError when the directions differ, and the usual graph errors when the diff does not fit graph.
diff
graph
A new graph with
diffapplied tograph. Vertex and edge attributes of what stays are kept; added vertices and edges carry none. Throws GraphError when the directions differ, and the usual graph errors when the diff does not fitgraph.