Note

This is the documentation for the current state of the development branch of rustworkx. The documentation or APIs here can change prior to being released.

Graph Operations#

rustworkx.complement(graph)

Compute the complement of a graph.

rustworkx.union(first, second[, ...])

Return a new graph by forming a union from two input graph objects

rustworkx.cartesian_product(first, second)

Return a new graph by forming the cartesian product from two input graph objects