kvision icon indicating copy to clipboard operation
kvision copied to clipboard

Graph theory visualization

Open mgrouch opened this issue 3 years ago • 4 comments

It would be nice if there was a module binding to https://js.cytoscape.org/

For visual representation of graphs which is a missing feature currently.

Thanks

mgrouch avatar Jun 02 '22 20:06 mgrouch

See my answer for similar request: #95. TLDR: creating Kotlin bindings for a complex JS library is a huge job - contributions are welcomed.

rjaros avatar Jun 03 '22 07:06 rjaros

You might want to take a look at https://github.com/data2viz/data2viz, it's essentially a port of d3.js to Kotlin.

JoonasC avatar Jun 03 '22 07:06 JoonasC

You might want to take a look at https://github.com/data2viz/data2viz, it's essentially a port of d3.js to Kotlin.

I did exactly that a couple of month's ago and gave up. I was not able to find out, how to do a bubble chart.

joerg-rade avatar Jun 07 '22 07:06 joerg-rade

The thing with d3/data2viz is that it doesn't give you a ready-made method to draw a graph/chart, but instead it gives you basic tools that you can use to create any kind of visualisation. Here are some examples of everything that can be done with it https://play.data2viz.io/sketches/.

JoonasC avatar Jun 07 '22 09:06 JoonasC