IncidenceList[g,v]
gives a list of edges incident to vertex v.
IncidenceList[g,patt]
gives a list of edges incident to vertices that match the pattern patt.
IncidenceList[g,patt,d]
gives a list of incident edges d steps away.
IncidenceList[{vw,…},…]
uses rules vw to specify the graph g.


IncidenceList
IncidenceList[g,v]
gives a list of edges incident to vertex v.
IncidenceList[g,patt]
gives a list of edges incident to vertices that match the pattern patt.
IncidenceList[g,patt,d]
gives a list of incident edges d steps away.
IncidenceList[{vw,…},…]
uses rules vw to specify the graph g.
Details

- IncidenceList is typically used to represent the incidence (or connection) between vertices and edges.
- IncidenceList returns the list of edges in the order used by the graph g.

Examples
open all close allBasic Examples (3)
Scope (6)
IncidenceList works with undirected graphs:
Use rules to specify the graph:
Use patterns to obtain edges incident to a selected subset of vertices:
Obtain incident edges d steps away from a vertex:
IncidenceList works with large graphs:
Properties & Relations (2)
Related Guides
Text
Wolfram Research (2012), IncidenceList, Wolfram Language function, https://reference.wolfram.com/language/ref/IncidenceList.html (updated 2015).
CMS
Wolfram Language. 2012. "IncidenceList." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2015. https://reference.wolfram.com/language/ref/IncidenceList.html.
APA
Wolfram Language. (2012). IncidenceList. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/IncidenceList.html
BibTeX
@misc{reference.wolfram_2025_incidencelist, author="Wolfram Research", title="{IncidenceList}", year="2015", howpublished="\url{https://reference.wolfram.com/language/ref/IncidenceList.html}", note=[Accessed: 11-August-2025]}
BibLaTeX
@online{reference.wolfram_2025_incidencelist, organization={Wolfram Research}, title={IncidenceList}, year={2015}, url={https://reference.wolfram.com/language/ref/IncidenceList.html}, note=[Accessed: 11-August-2025]}