https://github.com/becheran/depgraph
Interactive dependency graph visualization tool for golang
https://github.com/becheran/depgraph
Last synced: 2 months ago
JSON representation
Interactive dependency graph visualization tool for golang
- Host: GitHub
- URL: https://github.com/becheran/depgraph
- Owner: becheran
- License: mit
- Created: 2021-09-29T18:58:43.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-10-22T18:07:39.000Z (over 3 years ago)
- Last Synced: 2025-03-29T10:51:18.992Z (3 months ago)
- Language: Go
- Size: 169 KB
- Stars: 7
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# depgraph
[![Go Report Card][go-report-image]][go-report-url]
[![PRs Welcome][pr-welcome-image]][pr-welcome-url]
[![License][license-image]][license-url]
[](https://pkg.go.dev/github.com/becheran/depgraph)[license-url]: https://github.com/becheran/depgraph/blob/main/LICENSE
[license-image]: https://img.shields.io/badge/License-MIT-brightgreen.svg
[go-report-image]: https://goreportcard.com/badge/github.com/becheran/depgraph
[go-report-url]: https://goreportcard.com/report/github.com/becheran/depgraph
[pr-welcome-image]: https://img.shields.io/badge/PRs-welcome-brightgreen.svg
[pr-welcome-url]: https://github.com/becheran/depgraph/blob/main/CONTRIBUTING.mdInteractive dependency graph visualization tool for golang using the awesome [cytoscape](https://cytoscape.org/) graph visualizer.

## Install
Install via:
``` sh
go install github.com/becheran/depgraph@latest
```## Quick Start
Run the *depgraph* command line tool next to you *go.mod* file of your project.
The first required argument is the path to the file or module which shall be observed. For example:
``` sh
depgraph ./main.go
```or:
``` sh
depgraph github.com/becheran/depgraph
```Per default the frontend will be started on **http://localhost:3001**. The address can be changed via the *host* flag:
``` sh
depgraph -host=localhost8080 github.com/becheran/depgraph
```