monora/rgl

syntax error in dot file for undirected graph

monora opened this issue · 2 comments

A bug reported by Sean Harger:

require 'rgl/adjacency'
require 'rgl/dot'
g = RGL::AdjacencyGraph[1,2]
g.write_to_graphic_file
Error: graph.dot:1: syntax error near line 1
context:  >>> subgraph <<<  RGL__AdjacencyGraph {
=> "graph.png"

Reproduced with ruby version 1.9.3 and RGL 0.4.0

KL-7 commented

I believe you've already fixed the issue in 1a2ef4b, but it wasn't released yet.

Kirill Lashuk notifications@github.com writes:

I believe you've already fixed the issue in 1a2ef4b, but it wasn't released yet.
Ah, 2 years ago. I am getting older...