Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dustin/graphex
Dependency graph viewer CLI tool
https://github.com/dustin/graphex
Last synced: about 2 months ago
JSON representation
Dependency graph viewer CLI tool
- Host: GitHub
- URL: https://github.com/dustin/graphex
- Owner: dustin
- License: other
- Created: 2023-08-04T07:37:08.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-03T23:17:48.000Z (9 months ago)
- Last Synced: 2024-10-11T14:16:05.868Z (2 months ago)
- Language: Haskell
- Size: 765 KB
- Stars: 10
- Watchers: 3
- Forks: 3
- Open Issues: 28
-
Metadata Files:
- Readme: README.md
- Changelog: ChangeLog.md
- License: LICENSE
Awesome Lists containing this project
README
# graphex
Simple tool to explore some dependency data.
```
Usage: graphex graph [-g|--graph ARG] [-r|--reverse] COMMANDGraph operations
Available options:
-g,--graph ARG path to graph data (default: "graph.json")
-r,--reverse reverse edges
-h,--help Show this help textAvailable commands:
deps Show all direct inbound dependencies to a module
all Show all dependencies to a module
why Show why a module depends on another module
rank Show the most depended on modules
select Select a subset of the graph from a starting module
```Run this from the root of a cabal project to generate the dependency graph JSON:
```
graphex cabal > my-deps.json
```The JSON is compatible with the [Looking Glass graph viewer](https://mercurytechnologies.github.io/looking-glass-viewer/) as well.