Add dependency graph

This commit is contained in:
Théophile Bastian 2018-08-17 20:29:00 +02:00
parent fc21036aec
commit 5bfda2286f
3 changed files with 49 additions and 0 deletions

View File

@ -0,0 +1,8 @@
all: deps.png
%.png: %.dot
dot $< -Tpng > $@
.PHONY: view-%
view-%: %.dot
dot $< -Tpng | feh -

41
dependency_graph/deps.dot Normal file
View File

@ -0,0 +1,41 @@
digraph deps {
subgraph depsgr {
libdwarf [color=slategray];
libcxxfileno [label="libc++fileno", color=slategray];
libsrk31cxx [label="libsrk31c++", color=slategray];
libdwarfpp [color=slategray];
dwarfassembly [label="dwarf-assembly", color=limegreen];
libunwind [label="libunwind-eh_elf", color=limegreen];
perf [label="perf-eh_elf", color=limegreen];
dwarfinterpret [color=blue];
framemachine [label="frame-machine", color=blue];
libdwarfpptests [label="libdwarfpp-tests", color=blue];
libdwarf -> libdwarfpp;
libcxxfileno -> libsrk31cxx;
libcxxfileno -> libdwarfpp;
libsrk31cxx -> libdwarfpp;
libdwarfpp -> dwarfassembly;
libunwind -> perf;
libdwarfpp -> dwarfinterpret;
libdwarfpp -> framemachine;
libdwarfpp -> libdwarfpptests;
}
subgraph cluster_key {
label="Key";
extdep [label="External dependency", color=slategray];
main [label="Main project", color=limegreen];
side [label="Side project", color=blue];
}
framemachine -> main [style=invis];
}

BIN
dependency_graph/deps.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 71 KiB