webweb icon indicating copy to clipboard operation
webweb copied to clipboard

Changing Colors of Lines

Open HenryFChapman opened this issue 4 years ago • 1 comments

This is great! Love this library. I use it all the time for work.

It could be cool if you could make the lines more transparent. When you've got a lot of points, it kind of overwhelms viewers.

HenryFChapman avatar Jul 06 '20 00:07 HenryFChapman

Thanks for the feedback — the positive and constructive are both very appreciated 😃 .

I agree with you about line opacity, and, on a hopefully-soon-to-be-released branch, have that implemented for all scales.

Essentially how I plan to have the parameter work is to allow a user to set the range of each scale by parameter. So, in this case, there would be a parameter linkOpacityScaleRange which would default to [1, 1] for uniform link opacity, and when link opacity is being scaled, would default to [0.5, 1] (the current range). A user would then be able to set the linkOpacityScaleRange to something like [0, 1], which would make the lowest weight edges invisible.

If you have any thoughts, feedback, or alternatives, I'd love to hear them!

hneutr avatar Jul 06 '20 19:07 hneutr