# Return to Answer

 2 added 23 characters in body edited May 13 '18 at 2:25 Henrik Schumacher 74.1k66 gold badges112112 silver badges209209 bronze badges If G is the graph, IncidenceMatrix[G]["AdjacencyLists"][[A]]SparseArray[UnitStep[IncidenceMatrix[G]]]["AdjacencyLists"][[A]]  lists the indices of the edges for each vertex in A. If G is the graph, IncidenceMatrix[G]["AdjacencyLists"][[A]]  lists the indices of the edges for each vertex in A. If G is the graph, SparseArray[UnitStep[IncidenceMatrix[G]]]["AdjacencyLists"][[A]]  lists the indices of the edges for each vertex in A. 1 answered May 13 '18 at 2:12 Henrik Schumacher 74.1k66 gold badges112112 silver badges209209 bronze badges If G is the graph, IncidenceMatrix[G]["AdjacencyLists"][[A]]  lists the indices of the edges for each vertex in A.