LineGraph #
Main definitions #
SimpleGraph.lineGraph
is the line graph of a simple graphG
, with vertices as the edges ofG
and two vertices of the line graph adjacent if the corresponding edges share a vertex inG
.
Tags #
line graph
The line graph of a simple graph G
has its vertex set as the edges of G
, and two vertices of
the line graph are adjacent if the corresponding edges share a vertex in G
.
Equations
Instances For
theorem
SimpleGraph.lineGraph_adj_iff_exists
{V : Type u_1}
{G : SimpleGraph V}
{e₁ e₂ : ↑G.edgeSet}
: