Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Channels lines width proportional with channel capacity #5

Open
parti-zanu opened this issue Jan 28, 2018 · 1 comment
Open
Labels
enhancement New feature or request

Comments

@parti-zanu
Copy link

Channel line width should be proportional with channel capacity.

It could factor in some scale mapping, eg if x sat is the largest channel (100%),

  • a channel between 75%-100% can be 8px wide
  • 50%-100% 4px wide
  • 1%-50% 1px wide
@chemicstry
Copy link
Owner

It was implemented in the old Vis.js view using logarithmic scale but the difference between widths was very tiny. Probably because channels are of very similar capacity right now (in terms of log scale). I will try to implement this on the new view and tune the formula a bit.

@chemicstry chemicstry added the enhancement New feature or request label Feb 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants