Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/swelham/digraph_viewer
Digraph viewer provides a visual representation of a digraph model through a web based interface
https://github.com/swelham/digraph_viewer
digraph elixir erlang gui ui
Last synced: 30 days ago
JSON representation
Digraph viewer provides a visual representation of a digraph model through a web based interface
- Host: GitHub
- URL: https://github.com/swelham/digraph_viewer
- Owner: swelham
- License: mit
- Created: 2018-03-14T16:47:43.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-05-08T21:53:19.000Z (over 6 years ago)
- Last Synced: 2024-04-24T13:17:51.030Z (7 months ago)
- Topics: digraph, elixir, erlang, gui, ui
- Language: Erlang
- Homepage:
- Size: 272 KB
- Stars: 6
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Digraph Viewer
Digraph viewer provides a visual representation of an erlang digraph through a web based interface.
![digraph_viewer screen grab](https://s3.amazonaws.com/digraphviewer/digraph_viewer_screen_grab.png)
## Installation
Head over to [hex](https://hex.pm/packages/digraph_viewer) 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
%% erlang
%% ---------
%% your_app.app.src
%% ---------
...
{applications, [digraph_viewer]}
...
``````elixir
# 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
%% erlangG = digraph:new(),
digraph_viewer:register(G).
``````elixir
# elixirg = :digraph.new()
:digraph_viewer.register(g)
```You can now view the digraph by visiting http://localhost:8080/.