Skip to content

dustin/graphex

Repository files navigation

graphex

Simple tool to explore some dependency data.

Usage: graphex graph [-g|--graph ARG] [-r|--reverse] COMMAND

  Graph operations

Available options:
  -g,--graph ARG           path to graph data (default: "graph.json")
  -r,--reverse             reverse edges
  -h,--help                Show this help text

Available 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 as well.

About

Dependency graph viewer CLI tool

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages