SNIPPET: GraphViz -> SVG -> TkCanvas UI Framework

Rubies:

As threatened, here’s the canvas:

http://www.rubygarden.org/ruby?SvgCanvas

It lets you author graphs (the nodes and edges kind, not the chart kind) in
Ruby Graph Library or with GraphViz, then put these into a TkCanvas.

Because TkCanvas elements are “objects”, one could then bind events to
nodes in the graph, forming an elaborate and intuitive framework.

It comes with a primeval SVG parser that could be extended to do the entire
SVG standard, not just the output of GraphViz.

···


Phlip
http://www.greencheese.org/HatTrick
– Proud victim of the dreaded boomerang effect –