• Stars
    star
    6
  • Rank 2,459,105 (Top 50 %)
  • Language
    Erlang
  • License
    MIT License
  • Created about 6 years ago
  • Updated almost 6 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Digraph viewer provides a visual representation of a digraph model through a web based interface

Digraph Viewer

Digraph viewer provides a visual representation of an erlang digraph through a web based interface.

digraph_viewer screen grab

Installation

Head over to hex to find the latest version to install.

Once installed make sure to add digraph_viewer to your list of applications (or start it manually).

%% erlang
%% ---------
%% your_app.app.src
%% ---------
...
{applications, [digraph_viewer]}
...
# elixir]
# ---------
# mix.exs
# ---------

def application do
  [applications: [:digraph_viewer]]
end

Usage

Before the digraph can be viewed it must be registered with digraph_viewer.

%% erlang

G = digraph:new(),
digraph_viewer:register(G).
# elixir

g = :digraph.new()
:digraph_viewer.register(g)

You can now view the digraph by visiting http://localhost:8080/.