SNAnalyst / SNAfun

FUNctions to enjoy alongside the SNA4DS course
https://snanalyst.github.io/SNAfun/
GNU General Public License v3.0
1 stars 0 forks source link

Modify plot_weighted_graph #13

Open czucca opened 2 years ago

czucca commented 2 years ago

Currently plot_weighted_graph takes class matrix.

Implement plots also for weighted graph of class

SNAnalyst commented 2 years ago

Probably easiest to write a fully functional method for class matrix. Then, the methods for igraph and network and data.frame can simply just convert the graph to a matrix and then call that method for the plotting.