miniBill/elm-review-call-graph/1.0.1

NOTE: the latest version is 1.0.3

elm-review-call-graph

Provides elm-review rules to draw and/or explore the call graph in an application.

The call graph is a list of which functions calls which other function. It is useful to visualize the dependencies between the various parts of your codebase, at a function granularity.

Provided rules

Configuration

module ReviewConfig exposing (config)

import ExtractCallGraph
import Review.Rule exposing (Rule)

config : List Rule
config =
    [ ExtractCallGraph.rule
    ]

Try it out

You can try the example configuration above out by running the following command:

elm-review --template miniBill/elm-review-call-graph/example --extract --report=json | jq ".extracts.ExtractCallGraph" > call-graph.json

You can then open the call graph with TODO