Skip to content

Commit

Permalink
Add the direct support for kraphviz (Kotlin/kotlin-jupyter#219)
Browse files Browse the repository at this point in the history
  • Loading branch information
CommanderTvis committed May 2, 2022
1 parent 21c7e92 commit 5183848
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions kraphviz.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"link": "https://github.com/nidi3/graphviz-java",
"description": "Graphviz wrapper for JVM",
"dependencies": [
"guru.nidi:graphviz-kotlin:0.18.1"
],
"imports": [
"guru.nidi.graphviz.*",
"guru.nidi.graphviz.engine.*",
"guru.nidi.graphviz.model.*",
"guru.nidi.graphviz.attribute.*"
],
"renderers": {
"guru.nidi.graphviz.model.MutableGraph": "HTML($it.toGraphviz().render(guru.nidi.graphviz.engine.Format.SVG).toString())",
"guru.nidi.graphviz.engine.Graphviz": "HTML(it.render(guru.nidi.graphviz.engine.Format.SVG).toString())"
}
}

0 comments on commit 5183848

Please sign in to comment.