As the title says, I'd like to generate all non-isomorphic connected undirected graphs with specified numbers of vertices and edges. Also, I'd like to make the restriction to the degree of all vertices in the graph as $3 \le d(v_i) \le 4$.
Notice: I have no restriction for simple graph, so multi-edges and self-loops should be included, too!
It seems that the simple case could be generated by the program named nauty. I have no idea that if it works for generated all graphs or not.
You can do this with nAUTy, or more exactly with a pair of tools in the suite :
gengandmultig. For example, the followinggengcommand:geng -c 4 > simple.g6gives all connected simple graphs on 4 vertices. This can then be passed to
multiglike:multig -u -D4 simple.g6I'm using the
-uflag here to just count them and the -Dflag to restrict the maximum degree to 4. If you remove the-uflag, and write to a file, you can then useshowgto convert theg6format graphs into a more readable format.There does not seem to be a minimum degree option, so you might have to use
pickgto do this. With all these tools, there should be instructions in the manual, or use the-helpflag.