networkx.algorithms.operators.symmetric_difference
networkx.algorithms.operators.compose
Enter search terms or a module, class or function name.
Return the Cartesian product of G and H.
G,H : graph
A NetworkX graph
create_using : NetworkX graph
Use specified graph for result. Otherwise a new graph is created with the same type as G.
Notes
Only tested with Graph class. Graph, node, and edge attributes are not copied to the new graph.