diff --git a/dependency_graph/Makefile b/dependency_graph/Makefile new file mode 100644 index 0000000..6aa3dd6 --- /dev/null +++ b/dependency_graph/Makefile @@ -0,0 +1,8 @@ +all: deps.png + +%.png: %.dot + dot $< -Tpng > $@ + +.PHONY: view-% +view-%: %.dot + dot $< -Tpng | feh - diff --git a/dependency_graph/deps.dot b/dependency_graph/deps.dot new file mode 100644 index 0000000..e9c7401 --- /dev/null +++ b/dependency_graph/deps.dot @@ -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]; +} diff --git a/dependency_graph/deps.png b/dependency_graph/deps.png new file mode 100644 index 0000000..7259361 Binary files /dev/null and b/dependency_graph/deps.png differ