Sha256: a4d8c64f826ed662d98c6c1ea02bded9c57cd5f14813152cdebb344d482ad052

Contents?: true

Size: 264 Bytes

Versions: 9

Compression:

Stored size: 264 Bytes

Contents

require 'rgl/graphxml'
require 'rgl/adjacency'
require 'rgl/dot'

include RGL

Dir['north/*.graphml'].each do |filename|
  File.open(filename) { |file|
    graph = DirectedAdjacencyGraph.from_graphxml(file)
    graph.write_to_graphic_file('jpg', filename)
  }
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
rgl-0.5.9 examples/north.rb
rgl-0.5.8 examples/north.rb
rgl-0.5.7 examples/north.rb
rgl-0.5.6 examples/north.rb
rgl-0.5.4 examples/north.rb
rgl-0.5.3 examples/north.rb
rgl-0.5.2 examples/north.rb
rgl-0.5.1 examples/north.rb
rgl-0.5.0 examples/north.rb