Given a graph G then G.random_subgraph(.5) returns a random subgraph of G (each vertex is selected with probability .5)
However, this will return an induced subgraph.
(1) Is there a command that returns a general subgraph (not necessarily induced)?
(2) Is there a command that returns a connected subgraph (let's say starting with a connected G)?