garthtarr / edgebundleR

Circle plot with bundled edges
http://garthtarr.github.io/edgebundleR/
67 stars 12 forks source link

Control edge color and edge width #11

Open FinScience opened 7 years ago

FinScience commented 7 years ago

1.Based on all the articles on edgebundleR, I am yet to find out a way on how to change the color of links based on whether the link is incoming or outgoing. Any help with this would be great. I am looking for something like https://bl.ocks.org/mbostock/7607999

2.Is changing the width of the links possible based on a weight parameter?

garthtarr commented 6 years ago

Tailoring the links requires a bit more effort and thought. The current implementation isn't capable of distinguishing between directed and undirected graphs, and it can't change the weighting of links. I agree, this would be a very nice feature, but I'd need to learn more JS to make it happen.