pub fn line_graph<N, E, Ix>(g: &UnGraph<N, E, Ix>) -> UnGraph<E, N, DefaultIx>where N: Clone, E: Clone + Default, Ix: IndexType,
Construct the line graph for g
g