A complementary package for Opus which visualises pipelines using Graphviz.
The package can be installed by adding opus_graph to your list of dependencies in mix.exs:
def deps do
[{:opus_graph, "~> 0.1"}]
endOpus.Graph.generate(:your_app)
# => {:ok, "Graph file has been written to your_app_opus_graph.png"}This feature uses graphviz, so make sure to have it installed. To install it:
# MacOS
brew install graphviz# Debian / Ubuntu
apt-get install graphvizOpus.Graph is in fact a pipeline and its visualisation is:
You can customise the visualisation:
Opus.Graph.generate(:your_app, %{filetype: :svg})
# => {:ok, "Graph file has been written to your_app_opus_graph.svg"}Read the available visualisation options here.
Copyright (c) 2018 Dimitris Zorbas, MIT License. See LICENSE.txt for further details.
