tfiers / PkgGraph.jl

Visualize the dependency graph of a Julia package
https://tfiers.github.io/PkgGraph.jl
MIT License
43 stars 2 forks source link

graph label #65

Open tfiers opened 1 year ago

tfiers commented 1 year ago

.. with version of root pkg :)

(if a setting: either a function (given package name, or some info struct); or a mustache/jinja/handlebars like {{template}} string) (same as for emptymsg)

For

can display versioninfo() like stuff :) (cause it's important for scale of measurements)

tfiers commented 1 year ago

How-to is just, it seems:

digraph {
  label = ".."
}
tfiers commented 1 year ago

So, gathering above backlinks, what should go in graph 'label':

tfiers commented 1 year ago

so yeah, this should be a html-like block, can't just be a string w/ newlines. Can a graph's label be that? Or do we need to create a floating node. Stichtend voorbeeld: https://graphviz.org/Gallery/directed/pprof.html (is geen html, gewoon text; maar kan daar perfect i'm sure) a subgraph.. Necessary? or is node in main graph ('cluster') good too

tfiers commented 1 year ago
Dependency graph for Plots v0.7.2

145 packages, of which 42 standard library and 66 JLL packages were filtered out.

Or, if not even crawling them:

Dependency graph for Plots v0.7.2

32 packages, not including standard library and JLL dependencies

(smol: )

Generated with PkgGraph.jl v0.9 on 2023-01-15
tfiers commented 1 year ago

Ofc with a flag to disable it. Sth like infobox=false