by software artist Scott Draves. You may also follow me on google+ or twitter, buy art, or join me on facebook.

August 27, 2010

Flock Grapher

Here is a very small python program that I have found useful. It reads a folder and makes a graph of the sheep found there. Actually it writes out a dot file that graphviz can turn into an image. It doesn't do the fancy stuff that the sheep server does, like putting a thumbnail image on each node of the graph. But it's great for utilitarian purposes. Download flock-graph.py.

To use it, cd into the folder with the flock, and then say "flock-graph.py | dot -Tpng > ~/graph.png". For example in results below, you can easily see that one of the sheep, 22475, is unconnected.

Posted by spot at August 27, 2010 05:08 AM

Comments
Post a comment









Remember personal info?




Please copy the security code: