<?xml version='1.0' encoding='utf-8' ?>
<rss version='2.0'>
<channel>
	<title>neilpahl.com Logs Feed: Graphviz</title>
	<link></link>
	<description></description>
	<pubDate>Thu, 22 Jul 21 07:39:32 -0400</pubDate>
	<ttl>60</ttl>
	<item>
		<title>Graphviz:: Entry 2: Creating A Graph From A Dot File Via The Command Line</title>
		<description><![CDATA[I installed graphviz in the command line on ubuntu withsudo apt-get install graphvizOn mac, I used macports via the commandsudo port install graphvizNext, I created a dot file with a text editor. Something simple like:digraph G {
    one -&gt; two;
    one -&gt; three;
    one -&gt; four;
    four -&gt; five -&gt; six;
    five -&gt; one;
    six -&gt; two;
}then, save it as dotFile.dotNext, in the command line, you can use that dot file to generate the graph. The format is as follows:dot -Txxx dotFile.dot -o graphName.xxxso for png, I use:dot -Tpng dotFile.dot -o graphname.pngsee the man page withman dotand you will see instructions for the command line usage for:       dot - filter for drawing directed graphs       neato - filter for drawing undirected graphs       twopi - filter for radial layouts of graphs       circo - filter for circular layout of graphs       fdp - filter for drawing undirected graphs       sfdp -]]></description>
		<pubDate>Sun, 26 Feb 12 22:51:57 -0500</pubDate>
		<link>http://archived.neilpahl.com/logs/diagram-tools/graphviz/2-creating-a-graph-from-a-dot-file-via-the-command-line/</link>
	</item>
	<item>
		<title>Graphviz:: Entry 1: The Plan</title>
		<description><![CDATA[I'm a visual thinker, and I feel that i best describe my ideas through hand drawn images. So, for making diagrams and flowcharts, it looks like Graphviz is going to be my choice. I'm choosing it mainly because I can use it tomake diagrams in the command line.Thinking back to when I was in school, I remember spending so much time drawing up a flowchart using the (abominous) flowchart drawing tools provided in MS Word. It took forever.But now, Graphviz uses very simple text to generate the diagram. This will be faster to draw and even faster to edit in the future. For example, something as simpdle asdigraph G {
  a -&gt; b;
  a -&gt; c;
  b -&gt; d;
  b -&gt; e;
  c -&gt; f;
  c -&gt; g;
  c -&gt; h;
  g -&gt; i;
  g -&gt; j;
}will generate all the neccesary arrows. But don't be fooled, there are a lot more capabilities.The documentation of Graphviz is quite technical, and not that easy for the newcomer to decypher. But,]]></description>
		<pubDate>Fri, 16 Dec 11 00:31:59 -0500</pubDate>
		<link>http://archived.neilpahl.com/logs/diagram-tools/graphviz/1/</link>
	</item>
</channel>
</rss>