ListGraphs
ListGraphs[n,m]
returns all nonisomorphic undirected graphs with n vertices and m edges.
ListGraphs[n,m,Directed]
returns all nonisomorphic directed graphs with n vertices and m edges.
ListGraphs[n]
returns all nonisomorphic undirected graphs with n vertices.
ListGraphs[n,Directed]
returns all nonisomorphic directed graphs with n vertices.
Details and Options
- ListGraphs functionality is now available in the built-in Wolfram Language function GraphData.
- To use ListGraphs, you first need to load the Combinatorica Package using Needs["Combinatorica`"].
Examples
Basic Examples (2)
ListGraphs has been superseded by GraphData:
Text
Wolfram Research (2012), ListGraphs, Wolfram Language function, https://reference.wolfram.com/language/Combinatorica/ref/ListGraphs.html.
CMS
Wolfram Language. 2012. "ListGraphs." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/Combinatorica/ref/ListGraphs.html.
APA
Wolfram Language. (2012). ListGraphs. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/Combinatorica/ref/ListGraphs.html