Closed mdeff closed 5 years ago
For the edge weight, I think we should think about the properties we want the graph to have. So let us do some math. For now we could raise a warning if the original graph is weighted.
Agreed. Warning added. For now, it creates a binary line graph in all cases (as if the original graph was unweighted).
This looks fine for me...
Todo:
Should be consistent with NetworkX's
line_graph
.