Combinatorica`
Combinatorica`

ListGraphs

As of Version 10, most of the functionality of the Combinatorica package is built into the Wolfram System. »

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

Examples

Basic Examples  (2)

ListGraphs has been superseded by GraphData:

Wolfram Research (2012), ListGraphs, Wolfram Language function, https://reference.wolfram.com/language/Combinatorica/ref/ListGraphs.html.

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

BibTeX

@misc{reference.wolfram_2024_listgraphs, author="Wolfram Research", title="{ListGraphs}", year="2012", howpublished="\url{https://reference.wolfram.com/language/Combinatorica/ref/ListGraphs.html}", note=[Accessed: 21-December-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_listgraphs, organization={Wolfram Research}, title={ListGraphs}, year={2012}, url={https://reference.wolfram.com/language/Combinatorica/ref/ListGraphs.html}, note=[Accessed: 21-December-2024 ]}