I just had some time to procrastinate away, so I built a little open source graph pastebin web application called Instagraph. It’s based on GraphViz, PHP, MySQL and Apache. At least the first three need to be installed on your web server, and the fourth one is necessary unless you tweak your way around using the included .htaccess file (which makes use of mod_rewrite).

I’ve been wanting to write something like this for ages. Often enough I want to explain concepts in IRC and find myself struggling to present all the relationships between different things in an understandable way. Now I can just use a private Instagraph instance to make a nice picture that will speak a thousand words for me. Awesome.

Instagraph is woefully underdocumented but shouldn’t be too hard to set up. It’s also extremely simple and has no user interface to speak of.

Now, if you understand GraphViz’s dot syntax, you can turn this:

a -- b -- c

Into this:

(Graph generated from the above example code)

Get it

You can get Instagraph at http://github.com/jast/instagraph where you will find a download button as well as the Git repository URL.

Public graph pastebins

  • I run Instagraph at http://g.jk.gs/. Feel free to use it for casual stuff, but it would be extremely nice of you if you didn’t directly link to the generated images from super-high-traffic sites. Thanks!

If you plan to host another pastebin (doesn’t even have to be the original Instagraph, just something comparably simple and with the same syntax) somewhere, let me know so I can list it here.

3 responses to this post

  1. filebat says:

    Just curious, why don’t you use dot + graphviz?

    http://en.wikipedia.org/wiki/Graphviz
    Graphviz
    http://www.flickr.com/photos/kentbye/sets/72157601523153827/
    GraphViz Text-to-Flowchart Examples
    http://www.graphviz.org/Documentation.php
    Graphviz – Graph Visualization Software

  2. Design agency Glasgow says:

    Agreed with filebat that Dot+ versions will be the best option for you as they based on advance technologies. You should try to go for them.

    Editor’s note: I’m leaving this hilariously nonsensical spam comment up just because. Spam links are gone, though.

Leave a reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">

Please note that comments that look like link spam (contain a link to a commercial website unrelated to the topic at hand) will be removed. If you are a person getting paid to spam websites... don't bother. It takes me less time to remove your post than it would take you to write it.

Bear