IncidenceMatrix

As of Version 10, most of the functionality of the Combinatorica package is built into the Wolfram System. >>

IncidenceMatrix[g]returns the -matrix of graph , which has a row for each vertex and a column for each edge and if and only if vertex is incident upon edge . For a directed graph, if edge is outgoing from .