Last active
March 27, 2020 17:05
-
-
Save mhyee/5876732 to your computer and use it in GitHub Desktop.
Graphviz file for drawing a dependency graph. http://www.graphviz.org/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Online Graphviz: http://webgraphviz.com/ | |
// https://i.imgur.com/NHmoDnj.png | |
digraph g{ | |
node [shape="box",style=rounded]; | |
"a.out" -> "C.o" | |
"a.out" -> "B.o" | |
"a.out" -> "A.o" | |
"C.o" -> "C.cpp" | |
"B.o" -> "B.cpp" | |
"A.o" -> "A.cpp" | |
"C.cpp" -> "C.h" | |
"B.cpp" -> "B.h" | |
"A.cpp" -> "A.h" | |
"a.out" -> "main.o" | |
"main.o" -> "main.cpp" | |
"main.cpp" -> "C.h" | |
"main.cpp" -> "B.h" | |
"C.h" -> "A.h" | |
"B.h" -> "A.h" | |
} |
It's a useful snippet, thanks! :)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks for the tip! I also simplified the labels.
This gist is so old that I don't even remember why I posted it...