Ruby-Graphviz icon indicating copy to clipboard operation
Ruby-Graphviz copied to clipboard

[MIRROR] Ruby interface to the GraphViz graphing tool

Results 37 Ruby-Graphviz issues
Sort by recently updated
recently updated
newest added

Would be interested to know why bundler cache hasn't been enabled on Travis. Thank you.

**Describe the bug** ruby-graphviz seems to generate invalid dot formatted numbers for bounding boxes of 6 digits or more. This may be an issue with how all numbers get formatted...

@glejeune - This may be a ruby 2.4 idiosynracy, I didn't take the time to diagnose it further. Essentially, sometimes the status returned from output_and_errors_from_command is nil, which does not...

e.g. if I make a graph like so: ``` a == b a == c b == d b == d ``` Can I then have 2, separate 'd' nodes...

When dot2ruby is parsing dot-files with nodes using html labels, the leading '' in the labels are chopped off. See dot from graphviz doc: ``` digraph structs { node [shape=plaintext]...

Ruby 2.4.3 GraphViz 2.40.1 ``` 2.4.3 :001 > require 'ruby-graphviz' => true 2.4.3 :002 > g = GraphViz.new(:G, type: :digraph) 2.4.3 :003 > g.add_nodes("Hello\\") 2.4.3 :004 > g.output(png: 'hello.png') RuntimeError:...

Although it is not present in the [official documentation](https://graphviz.org/doc/info/attrs.html), the [gvmap documentation](https://graphviz.gitlab.io/_pages/pdf/gvmap.1.pdf) mentions that the "clustercolor" attribute is supported (as well as "cluster") but it is not present in the...

There's a problem in `output_from_command` (lib/graphviz/utils.rb) in the condition: ` if (status.nil? && (errors.nil? || errors.strip.empty?)) || status.zero?` The method `zero?` crashes when status is nil, a situation which escapes...

For example defaults for node ~~~dot digraph G { edge [color=red]; node [shape=box,style=filled,color=".7 .3 1.0"]; execute -> compare; } ~~~ Based on http://www.graphviz.org/Documentation/dotguide.pdf -- Code for _Figure 3: Fancy graph_

Hi, I'm running [example73.rb](https://github.com/glejeune/Ruby-Graphviz/blob/master/examples/sample73.rb) but adding this line: ``` ruby g.add_nodes "TABLE_EXAMPLE", label: 'Hello World' ``` The result is not parsed as an HTML table: ![image](https://cloud.githubusercontent.com/assets/49499/25273139/cee15858-268a-11e7-8133-9bccf1a75d34.png) Any idea why this...