Add dependency graph
This commit is contained in:
parent
fc21036aec
commit
5bfda2286f
3 changed files with 49 additions and 0 deletions
8
dependency_graph/Makefile
Normal file
8
dependency_graph/Makefile
Normal 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
41
dependency_graph/deps.dot
Normal 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
BIN
dependency_graph/deps.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 71 KiB |
Loading…
Add table
Reference in a new issue