Suppose I consider the Petersen graph G. I want to check if G has the following subgraph H as a subgraph or not, where H=Graph({1:[2,3,4]}). Is it possible to check this? I am new to sagemath.
I wrote the code like this: G=graphs.Petersen_Graph() H=Graph({1:[2,3,4]})
How to write a code which can check if H is an induced subgraph of G or not? Can someone please help me out?