SNIPPET: GraphViz -> SVG -> TkCanvas UI Framework


As threatened, here’s the canvas:

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.


– Proud victim of the dreaded boomerang effect –