Open dgutson opened 1 year ago
allows me to import the information in a graph database such as Neo4j
Would you have a reference for that, like how to import graphviz/dot into Neo4j?
Note to myself: https://github.com/RCHowell/Dotlin could be a library to use.
Would you have a reference for that, like how to import graphviz/dot into Neo4j?
I only have ad-hoc scripts, based on https://neonx.readthedocs.io/en/latest/usage.html I don't know if there is any more official way.
Note to myself: https://github.com/RCHowell/Dotlin could be a library to use.
Alternatively, use https://github.com/nidi3/graphviz-java/tree/master/graphviz-kotlin directly. Though graphviz-java seems to be terrible outdated by now...
@dgutson out of curiosity, are you really tied to GraphViz, or would something like Mermaid also be an option?
@dgutson out of curiosity, are you really tied to GraphViz, or would something like Mermaid also be an option?
Not tied to GraphViz, Mermaid would be OK too.
So what's the more abstract use-case? Just some graphical representation of the dependency graph? So also e.g. an SVG or even a rendered JPEG would suffice?
Not tied to GraphViz, Mermaid would be OK too.
Sorry, I missed that above you mentioned the import to Neo4j. Is that still the use-case? And is Neo4j able to import Mermaid, too?
I think that there are two different use cases: the need for visualization (where an SVG is optimal because of vectorized zoom), and the need to do graph queries. It happens that neo4j has a very good render and visualizer too.
The idea is to be able to see the graph of dependencies. Dot's clustering allows to group dependencies with some configurable critieria:
Additionally, not only this allows me to get a good big picture representation of the information, but also allows me to import the information in a graph database such as Neo4j and perform complex queries and transformations for further research (should this be a separate exporter?).