gives a list of edges incident to vertices that match the pattern patt.
gives a list of incident edges d steps away.
- IncidenceList returns the list of edges in the order used by the graph g.
Examplesopen allclose all
Basic Examples (3)
A list of edges incident to vertex 1:
Find all vertices adjacent to vertices that match the pattern:
Highlight incidence edges:
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)
Introduced in 2012
Updated in 2015