Closed cbandy closed 11 years ago
Adding an edge with a numeric label fails with the following error:
ruby-graphviz-1.0.8/lib/graphviz/types/lbl_string.rb:9:inmatch': can't convert Fixnum to String (TypeError)`
ruby-graphviz-1.0.8/lib/graphviz/types/lbl_string.rb:9:in
The last line causes the error in irb:
graph = GraphViz.digraph(:G) a = graph.add_nodes('a') b = graph.add_nodes('b') graph.add_edges(a, b, label: 5)
Adding an edge with a numeric label fails with the following error:
ruby-graphviz-1.0.8/lib/graphviz/types/lbl_string.rb:9:in
match': can't convert Fixnum to String (TypeError)`The last line causes the error in irb: