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

Add graphs visualization with GraphViz #219

Closed
ileasile opened this issue May 2, 2021 · 3 comments · Fixed by Kotlin/kotlin-jupyter-libraries#158
Closed

Add graphs visualization with GraphViz #219

ileasile opened this issue May 2, 2021 · 3 comments · Fixed by Kotlin/kotlin-jupyter-libraries#158

Comments

@ileasile
Copy link
Contributor

ileasile commented May 2, 2021

GraphViz-java library provides a cool Kotlin API for the rendering of the graphs, but even more importantly, it provides a way to render these graphs and .dot files. Make it possible to use this library in the kernel: either provide this functionality in lib-ext or make a separate API wrapper or contribute to the library itself or make a JSON wrapper inside the kernel.

@altavir
Copy link
Contributor

altavir commented May 2, 2021

There is very nice kaliningraph library by @breandan and you already have integration with it.

@ileasile
Copy link
Contributor Author

ileasile commented May 2, 2021

Yes, I know, but graphviz seems to be a bit more stable solution at the moment. However, I see that kaliningraph uses graphviz under the hood

@breandan
Copy link
Contributor

breandan commented May 2, 2021

Kaliningraph uses Kraphviz, which uses graphviz-java, which uses viz.js, which uses Graphviz recompiled for WASM. As Kaliningraph is currently a research prototype I would not recommend using it for anything important. Depending on what you need to do, it might be better to use viz.js or a library like G6, neoviz.js or another graph visualization library. You could also reach out to @alshan who might know more about writing a ggplot-style API or wrapper.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants