Search code examples
pythonplotigraph

How to plot edge weights in igraph python


How to show edge weights in the plot in igraph. I am not able to find any documentation for showing weights in igraph python module


Solution

  • Adding edge weights as labels to them is turned out to be the solution. Just add

    g.es["label"] = weights