Skip to content

Latest commit

 

History

History
38 lines (32 loc) · 735 Bytes

File metadata and controls

38 lines (32 loc) · 735 Bytes

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
Loading