thomasp85 / tidygraph

A tidy API for graph manipulation
https://tidygraph.data-imaginist.com
Other
543 stars 61 forks source link

Feature request: (new morpher) add counterpart of `to_simple` to generate multi-graph from weighted simple graph. #197

Open gi0na opened 3 weeks ago

gi0na commented 3 weeks ago

In some cases it is helpful to convert a weighted graph (with integer weights) into a multi-graph with as many multi-edges as specified by some edge-count weight.