Another Word For It Patrick Durusau on Topic Maps and Semantic Diversity

August 14, 2011

Dorothy: Graphviz from the comfort of Clojure

Filed under: Clojure,Graphs,Graphviz — Patrick Durusau @ 7:10 pm

Dorothy: Graphviz from the comfort of Clojure

From the post:

I’ve used Graphviz quite a bit in the past. When I did, I was almost always generating dot files from code; I never wrote them by hand other than to experiment with various Graphviz features. Well, string-slinging is a pain. Generating one language from another is a pain. So, inspired by Hiccup, I threw together Dorothy over the last couple evenings. It’s a Clojure DSL for generating DOT graph representations as well as rendering them to images.

For a few hours work, the documentation is pretty thorough, so I’ll leave off with one simple example which is translated from the Entity Relationship example in the Graphviz gallery. Any feedback or criticism is welcome and encouraged.

Instructive on Clojure, useful for DOT graph representations. That’s a win-win situation!

No Comments

No comments yet.

RSS feed for comments on this post.

Sorry, the comment form is closed at this time.

Powered by WordPress