0

My current workflow is starting with graphs in TGF format, reading them in with yED and using yED to output them to some image format. I would rather have d3.js output.

Any tool out there (preferably a Ruby gem) that takes graphs in TGF format and outputs them in d3.js? Bonus points if it handles digraphs.

Chad Brewbaker
  • 2,523
  • 2
  • 19
  • 26

1 Answers1

1

There are no tools for this. The closest is probably dagre, which allows you to render graphviz graphs with D3.

Lars Kotthoff
  • 107,425
  • 16
  • 204
  • 204
  • Nice. You could easily extend this with a TGF grammar. Also, quite easy to use the Dagre pretty JS notation: https://github.com/cpettitt/dagre/blob/master/demo/state-graph-js.html – Chad Brewbaker Aug 15 '13 at 21:20
  • You wouldn't happen to have a link to the tables of non-isomorphic semigroups from 2-10 split out by idempotents would you? :) http://4c.ucc.ie/~larsko/papers/cp-semigroups.pdf – Chad Brewbaker Aug 15 '13 at 21:30
  • It's all in the references of that paper :) – Lars Kotthoff Aug 16 '13 at 07:51
  • I found the non-isomorphic idempotent tables for 10 and 9. I can probably just calculate 2-7 on my laptop. 8 is still elusive though. – Chad Brewbaker Aug 16 '13 at 14:28