add graphviz code snippets