answered 6 years ago
instead of graph(8), use graphs.nauty_geng("8 -c") to get only connected graphs.
graph(8)
graphs.nauty_geng("8 -c")