Skip to main content

LineGraph

LineGraph[g] gives the line graph of the graph g.

LineGraph[{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.