glejeune / Ruby-Graphviz

[MIRROR] Ruby interface to the GraphViz graphing tool
https://gitlab.com/glejeune/ruby-graphviz
Other
608 stars 116 forks source link

Ruby generated by dot2ruby is not valid #117

Open tmzhuang opened 8 years ago

tmzhuang commented 8 years ago

Dot: https://gist.github.com/tmzhuang/2746bd23fa755139195d Ruby script produced from dot2rb: https://gist.github.com/tmzhuang/2325ebd3f2cd68857afd

Runnning the ruby code gives error: dep.rb:25:in block in <main>': undefined local variable or methodgraph_clusteractiverecord_associations_collectionassociation' for main:Object (NameError) Did you mean? graph_clusteruser_generatedassociationmethods from /home/vagrant/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/ruby-graphviz-1.2.2/lib/graphviz.rb:881:in initialize' from /home/vagrant/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/ruby-graphviz-1.2.2/lib/graphviz.rb:912:innew' from /home/vagrant/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/ruby-graphviz-1.2.2/lib/graphviz.rb:912:in digraph' from dep.rb:5:in

'