Coder Social home page Coder Social logo

Comments (4)

hy-ntyni avatar hy-ntyni commented on May 28, 2024 1

Yeah I was thinking of a set of discrete link speed values, much like the current color legend. I think setting the thresholds manually would be fine. If there was automatic scaling I suppose it should be logarithmic by default or something like that but it seems tricky to make that neat.

Maybe something like this:

link-legend

from grafana-network-weathermap.

knightss27 avatar knightss27 commented on May 28, 2024 1

I've added per-link configuration to be released with v0.3.2. This took a little longer than expected as I had to refactor a bunch of link-related stuff to make this work properly (mainly all the calculations for fitting links next to each other). Since this refactor was the harder part, I am planning to add scaling sizes with v0.3.3.

image

from grafana-network-weathermap.

knightss27 avatar knightss27 commented on May 28, 2024

I would be happy to add a per-link configuration option for those that want to change the width.

I wonder how you are thinking a legend might look if there were to be a scale for link sizes? That would definitely be possible to implement though would need to be planned out to work well, especially as if you have 1-100Gbps I would imagine you don't necessarily want a 1:1 correlation in link size, though you are right that there could be a similar interface for the color/load that allows you to section some range of bandwidth into some link width.

from grafana-network-weathermap.

sirjeannot avatar sirjeannot commented on May 28, 2024

Representing link bandwidth is doable with arrow thickness.
I'm generating json config file from other sources, making this change didn't take much time.
The only thing missing would be asymetrical bandwidth but... there aren't many of these so it's not really needed.

from grafana-network-weathermap.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.