garthtarr / edgebundleR

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

provide nodesize argument to scale the node circle size #3

Closed timelyportfolio closed 9 years ago

timelyportfolio commented 9 years ago

Addressing #2, I changed the proposed maxsize to nodesize argument with both a min and max that will scale the node circle size using d3.scale.linear. You're welcome to change the defaults, but c(5,20) seemed to provide a sane starting point. If there is not a size in each node provided, then all nodes will be the max provided in nodesize, so in the default situation 20.

garthtarr commented 9 years ago

Excellent work, closes #2