Generate a GraphViz .dot
file describing a module call graph.
rebar3 escriptize
bin/ecg lists /Users/erszcz/apps/erlang/20.0/lib/erlang/lib/stdlib-3.4.1/ebin/lists.beam
open lists.png # on macOS
xdg-open lists.png # on Linux
bin/ecg dtls /Users/erszcz/src/erlang/otp/lib/ssl/ebin/dtls_udp_listener.beam \
/Users/erszcz/src/erlang/otp/lib/ssl/ebin/dtls_connection.beam
cat dtls.dot
open dtls.png # on macOS
xdg-open dtls.png # on Linux
-
Recon's app_deps.erl is the thing if you're looking into visualizing relations between Erlang applications. Good stuff!
-
Grapherl will show you dependencies between modules. Very nice!
-
For visualizing FSM states you might try these remnants of the past (YMMV, don't complain I didn't warn you):
-
https://github.com/erszcz/graph_draw - not authored by me, just scavenged off the internet and archived here on GitHub
-
http://erlang.org/pipermail/erlang-questions/2001-October/003717.html
-