GraphProduct
GraphProduct[g1, g2] gives the Cartesian product of the graphs g1 and g2.
GraphProduct[g1, g2, "op"]gives the product of type"op"for the graphsg1andg2.
Examples
GraphProduct[PathGraph[{1, 2, 3}], PathGraph[{a, b}]]GraphProduct[CycleGraph[4], CycleGraph[4], "Tensor"]Please visit the official Wolfram Language Reference for more details.