epfl-lts2 / pygsp

Graph Signal Processing in Python
https://pygsp.rtfd.io
BSD 3-Clause "New" or "Revised" License
488 stars 93 forks source link

How to get edge weights as node signal of LineGraph #104

Open skmda37 opened 2 years ago

skmda37 commented 2 years ago

The edge weights are not propagated to the nodes when using the LineGraph method.

I specifically want to get the edge weights of a graph G as the node signal of line graph pygsp.graphs.LineGraph(G).

Does somebody have an idea on how to do that?

Thank you so much in advance!