evanrelf / graphex

Dependency graph viewer CLI tool

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

License:Other


Languages

Language:Haskell 87.0%Language:Nix 12.0%Language:Makefile 0.9%Language:Shell 0.1%