ort icon indicating copy to clipboard operation
ort copied to clipboard

Add support for a graphviz/dot export of the dependencies

Open dgutson opened this issue 2 years ago • 9 comments

The idea is to be able to see the graph of dependencies. Dot's clustering allows to group dependencies with some configurable critieria:

  • same programming language
  • different versions of the same library (once supported)

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?).

dgutson avatar Mar 08 '23 20:03 dgutson

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?

sschuberth avatar Mar 08 '23 21:03 sschuberth

Note to myself: https://github.com/RCHowell/Dotlin could be a library to use.

sschuberth avatar Mar 08 '23 21:03 sschuberth

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.

dgutson avatar Mar 08 '23 21:03 dgutson

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...

sschuberth avatar Jan 26 '24 10:01 sschuberth