{"id":2172,"date":"2014-04-29T15:05:10","date_gmt":"2014-04-29T15:05:10","guid":{"rendered":"http:\/\/wiki.davelevy.info\/?p=2172"},"modified":"2021-09-07T10:48:16","modified_gmt":"2021-09-07T10:48:16","slug":"dot-graphviz","status":"publish","type":"post","link":"https:\/\/davelevy.info\/wiki\/dot-graphviz\/","title":{"rendered":"DOT &#038; Graphviz"},"content":{"rendered":"<p>I was introduced to DOT and Graphviz. This might be useful for building dependency charts. I particularly like the radial display.<!--more--><\/p>\n<p>Two links,<\/p>\n<ol>\n<li><a title=\"at wikipedia\" href=\"http:\/\/en.wikipedia.org\/wiki\/DOT_%28graph_description_language%29\"><span dir=\"auto\">DOT (graph description language)<\/span><\/a><\/li>\n<li><a href=\"https:\/\/web.archive.org\/web\/20171030220607\/http:\/\/www.graphviz.org:80\/Documentation\/dotguide.pdf\">http:\/\/www.graphviz.org\/Documentation\/dotguide.pdf<\/a><\/li>\n<li><a href=\"https:\/\/web.archive.org\/web\/20171105234914\/http:\/\/www.graphviz.org:80\/content\/twopi2\">Graphviz Example: Radial Layout<\/a><\/li>\n<\/ol>\n<p>A note on how to use twopi. the radial graph generator<\/p>\n<p>Here&#8217;s a mirror of <a title=\"Drawing Garphs with dot (.pdf)\" href=\"https:\/\/davelevy.info\/wiki\/wp-content\/uploads\/2014\/04\/dotguide.pdf\">the User Manual<\/a>. 20 March 2015.<\/p>\n<p>It seems <a href=\"https:\/\/web.archive.org\/web\/20171106000637\/http:\/\/www.graphviz.org:80\/Download_macos.php\">to be broken on more recent versions<\/a> of the Mac, documented on their download page. I have tried the macports install and nothing. (I say nothing, there is an application but it won&#8217;t open files. Does this leave me with, docker or Ubuntu in Virtual Box, but does it have the gui? graphviz-gui was the macports keyword. Otherwise, do I want to write a TCL\/TK script, maybe python? Hell Yes, but it&#8217;s really easy to use the command line.<\/p>\n<p>I used it to make the graph in <a title=\"Crossroads Keep\" href=\"https:\/\/davelevy.info\/wiki\/crossroads-keep\/\">the article on Crossroads Keep<\/a>.<\/p>\n<p>In the spring of 2021, I needed to make another graph, the most accessible was to run it on my W10 machine. I used this links,]<\/p>\n<ol>\n<li><a href=\"https:\/\/graphviz.org\/download\/#windows\">https:\/\/graphviz.org\/download\/#windows<\/a> for the binaries, but no viewer on windows<\/li>\n<li><a href=\"https:\/\/linux.die.net\/man\/1\/dot\">man dot<\/a> to remind me how to use the -T parameter<\/li>\n<li>I tried to use wt.exe but the install of graphviz was not visible to it and I couldn&#8217;t install graphviz within the ubuntu environment<\/li>\n<\/ol>\n<p>So I used visual code to make the .dot file,\u00a0 -Tpng and an image viewer to see the results.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I was introduced to DOT and Graphviz. This might be useful for building dependency charts. I particularly like the radial display.<\/p>\n","protected":false},"author":1,"featured_media":2643,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","_share_on_mastodon":"0"},"categories":[3],"tags":[668,667,669,911],"class_list":["post-2172","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-technology","tag-dot","tag-graphs","tag-graphviz","tag-technology"],"share_on_mastodon":{"url":"","error":""},"jetpack_featured_media_url":"https:\/\/davelevy.info\/wiki\/wp-content\/uploads\/2015\/04\/GraphvizLogo-w200.png","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/posts\/2172","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/comments?post=2172"}],"version-history":[{"count":5,"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/posts\/2172\/revisions"}],"predecessor-version":[{"id":5981,"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/posts\/2172\/revisions\/5981"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/media\/2643"}],"wp:attachment":[{"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/media?parent=2172"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/categories?post=2172"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/tags?post=2172"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}