forked from Kotlin/kotlin-jupyter-libraries
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add the direct support for kraphviz (Kotlin/kotlin-jupyter#219)
- Loading branch information
1 parent
21c7e92
commit 5183848
Showing
1 changed file
with
17 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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())" | ||
} | ||
} |