IncidenceMatrix
IncidenceMatrix[g] gives the vertex-edge incidence matrix of the graph g.
IncidenceMatrix[{v->w,…}] uses rules v->w to specify the graph g.
Please visit the official Wolfram Language Reference for more details and examples on core symbols.