pub fn line_digraph<N, E, Ix>(
digraph: &DiGraph<N, E, Ix>,
) -> DiGraph<(N, N), (), Ix>
Expand description
Creates a line graph from a directed graph
For directed graphs, two vertices in the line graph are connected if the head of one edge equals the tail of another.