powered by
Compute the direct product of two graphs
graph_direct(g, h)
Direct product as igraph object
An igraph object
David Schoch
See https://en.wikipedia.org/wiki/Tensor_product_of_graphs
library(igraph) g <- make_ring(4) h <- make_full_graph(2) graph_direct(g, h)
Run the code above in your browser using DataLab