blueprint v0.3.0 mix blueprint.plot.fun

Creates a function graph.

mix blueprint.plot.fun [APP] [--simple | --complex] [--colour] [[--lib LIB | --path PATH] ...] [-o PATH]

An APP name is provided if the function graph should be limited to the given application. Otherwise it will be for the entire blueprint (libraries tracked).

A --simple or --complex option can be used to indicate the detail of the generated graph.

A --colour option can be used to generate a coloured graph.

A -o option can be used to specify the file to be written.

As many --lib or --path options can be provided to add additional libraries to the blueprint. If none are provided, the blueprint will default to using the libraries found in the project’s build directory.

## Examples

Generate a graph for the current project:

mix blueprint.plot.fun

Generate a graph for the current project’s example application:

mix blueprint.plot.fun example

Generate a graph for the provided libraries:

mix blueprint.plot.fun --lib example1 --lib example2 --path /example

Generate a simple graph of mnesia from the standard erlang runtime:

mix blueprint.plot.fun --path $(elixir -e 'IO.puts :code.lib_dir') --simple mnesia

Link to this section Summary

Functions

A task needs to implement run which receives a list of command line args

Link to this section Functions

A task needs to implement run which receives a list of command line args.

Callback implementation for Mix.Task.run/1.