2 added 23 characters in body
source | link

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
source | link

If G is the graph,

IncidenceMatrix[G]["AdjacencyLists"][[A]]

lists the indices of the edges for each vertex in A.