Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ruby Graphviz on Windows #101

Open
robypar opened this issue Feb 1, 2015 · 0 comments
Open

Ruby Graphviz on Windows #101

robypar opened this issue Feb 1, 2015 · 0 comments

Comments

@robypar
Copy link

robypar commented Feb 1, 2015

Hello,
I don't manage to work this file on ruby:

require 'graphviz'

Create a new graph

g = GraphViz.new( :G, :type => :digraph )

Create two nodes

hello = g.add_nodes( "Hello" )
world = g.add_nodes( "World" )

Create an edge between the two nodes

g.add_edges( hello, world )

Generate output image

g.output( :png => "hello_world.png" )

coz it gives me an error:

"C:\Ruby193\rubywork>ruby helloworld.rb
C:/Ruby193/lib/ruby/site_ruby/1.9.1/graphviz.rb:544:in output': GraphViz not in stalled or dot not in PATH. Install GraphViz or use the 'path' option (StandardE rror) from helloworld.rb:14:in

'

C:\Ruby193\rubywork>
"

I installed Graphviz program, but...I don't know why it doesn't work.

Can you help me?

Thank you so much,
ROberta

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant