Repository navigation
New graph types and expressions
New expression:
incoming(X, Y)- packages fromXthat directly import a package inY
New option for goda graph -type flag:
tgf- Trivial Graph Format, which is one of the simplest graph formats.graphml- GraphML comprehensive format that can be used together with tools like yEd.digraph- that can be used together with digraph tool.edges- outputs each import edge on a separate line, can be useful grepping.
Label formatting has two new utility functions, which help to make the graph/list labels shorter:
{{ .ID | rel "github.com/loov/goda" }}, uses relative names for packages starting with "github.com/loov/goda".{{ .ID | rename "github.com" "$gh" }}, renames package path "github.com" with "$gh", as an example "github.com/loov/goda" would be renamed to "$gh/loov/goda".