GraphVizãï¼rubyãããã¤ããã¾ããï¼ graphvizã®ã¤ã³ã¹ãã¼ã«(ä¸è¨ã¯macportsã®ä¾) sudo port install graphviz rubygems㧠ruby-graphviz ãã¤ã³ã¹ãã¼ã« sudo gem install ruby-graphviz --remote ãµã³ãã«ããã°ã©ã ãåããã¦ã¿ã 以ä¸ãsample01.rb ã¨ãã¦ä¿åãï¼ãã¨ãã¨ruby-graphvizã«å ¥ã£ã¦ãããµã³ãã«ããã°ã©ã ã gemsç¨ã«requireé¨åãå¤æ´ãããã®ï¼ #!/usr/bin/ruby require "rubygems" gem "ruby-graphviz" require "graphviz" g = nil if ARGV[0] g = GraphViz::new( "G", :path => ARGV[0] ) else g = Gra
{{#tags}}- {{label}}
{{/tags}}