Rooted Product Graphs on Sagemath
How does one implement rooted product graphs on Sagemath? For those who haven't heard about it before, there is a Wikipedia page for it!
Any help would be highly appreciated!
This does not seem to be implemented in Sage, but you can use the formulas from the wikipedia article and the
add_edge()
method to build it yourself.