EdgeList—Wolfram Language Documentation (original) (raw)

BUILT-IN SYMBOL

EdgeList

EdgeList[g]

gives the list of edges for the graph g.

EdgeList[g,patt]

gives a list of edges that match the pattern patt.

EdgeList[{vw,…},…]

uses rules vw to specify the graph g.

Details

Examples

open allclose all

Basic Examples (3)

The edge list for an explicitly constructed graph:

The edge list for a parametrically constructed graph:

Find all edges that match a pattern:

Scope (5)

EdgeList works with undirected graphs:

Directed graphs:

Use rules to specify the graph:

Use a pattern to select a subset of edges:

EdgeList works with large graphs:

Applications (1)

Find all edges with a given annotation:

Properties & Relations (5)

Wolfram Research (2010), EdgeList, Wolfram Language function, https://reference.wolfram.com/language/ref/EdgeList.html (updated 2015).

Text

Wolfram Research (2010), EdgeList, Wolfram Language function, https://reference.wolfram.com/language/ref/EdgeList.html (updated 2015).

CMS

Wolfram Language. 2010. "EdgeList." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2015. https://reference.wolfram.com/language/ref/EdgeList.html.

APA

Wolfram Language. (2010). EdgeList. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/EdgeList.html

BibTeX

@misc{reference.wolfram_2025_edgelist, author="Wolfram Research", title="{EdgeList}", year="2015", howpublished="\url{https://reference.wolfram.com/language/ref/EdgeList.html}", note=[Accessed: 05-May-2025 ]}

BibLaTeX

@online{reference.wolfram_2025_edgelist, organization={Wolfram Research}, title={EdgeList}, year={2015}, url={https://reference.wolfram.com/language/ref/EdgeList.html}, note=[Accessed: 05-May-2025 ]}