grafana-diagram icon indicating copy to clipboard operation
grafana-diagram copied to clipboard

Network Weathermap usage

Open elvarb opened this issue 9 years ago • 10 comments

Is it possible to mimic something like this?

http://blackbird.si/wp-content/uploads/2015/07/Selection_002.png

So that the lines are an entity instead of only the boxes?

elvarb avatar Oct 14 '16 10:10 elvarb

Would it be possible to use something like networkmap.js instead of mermaid.js to accomplish this?

jbrockett avatar Oct 21 '16 12:10 jbrockett

I don't think networkmap.js would be as flexible as mermaid.js. The only component from networkmap.js that would be needed is how it deals with the connection lines. That would require a change to mermaid.js I think

elvarb avatar Oct 21 '16 14:10 elvarb

I did consider using network.js, but agree that mermaid.js appears to be more flexible/extendable. We might add a "weathermap" diagram type to mermaid, that includes a custom parser.

https://github.com/knsv/mermaid/tree/master/src/diagrams

jdbranham avatar Oct 21 '16 14:10 jdbranham

From a networking person: Mermaid.js is not where it needs to be, but if it could go there, that would be very nice.

Please keep absolute positioning of both nodes and edges in mind. Weathermaps always follow a logical or geographic order and the relative positioning must not change if nodes/edges are added/removed.

RichiH avatar Oct 21 '16 14:10 RichiH

This isn't really a library but worth nothing https://github.com/cidrblock/drawthe.net

Gelob avatar Oct 24 '16 05:10 Gelob

The referenced networkmap.js looks nice, although vis.js might also be a good way to start with.

Hipska avatar May 24 '17 09:05 Hipska

I know its been a while.... Any desire for this still?

jdbranham avatar Jul 06 '19 03:07 jdbranham

Yes please

Hipska avatar Jul 06 '19 05:07 Hipska

Just curious if network "weathermapping" is still a possibility? Looking to fill that niche with grafana and diagram.

lonelyadmin avatar Dec 17 '19 22:12 lonelyadmin

Edges are officially entities now, but the thickness styling is not connected to the value.
The values are shown over the edges similar to the shapes.

jdbranham avatar Jun 06 '21 20:06 jdbranham