modgraph

command module
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 21, 2025 License: MIT Imports: 10 Imported by: 0

README

modgraph

modgraph generates a mermaid flowchart from go mod graph output.

$ modgraph --help
Usage of modgraph:
  -prefix string
        prefix to filter
  -v    verbose mode
go mod graph | modgraph -prefix github.com/smartcontractkit/

Example

flowchart
	bar --> baz
	click bar href "https://github.com/example/bar"
	baz
	click baz href "https://github.com/example/baz"
	baz/v2
	click baz/v2 href "https://github.com/example/baz"
	foo --> bar
	foo --> baz/v2
	click foo href "https://github.com/example/foo"

	subgraph baz-repo[baz]
		 baz
		 baz/v2
	end
	click baz-repo href "https://github.com/example/baz"

	classDef outline stroke-dasharray:6,fill:none;
	class baz-repo outline

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL