Gviz:另一个 Ruby 的 graphviz 接口

时间:2021-06-14 21:38:06
【文件属性】:
文件名称:Gviz:另一个 Ruby 的 graphviz 接口
文件大小:163KB
文件格式:ZIP
更新时间:2021-06-14 21:38:06
Ruby 可视化 Ruby 的 graphviz 接口。 它使用简单的 ruby​​ 语法生成一个点文件。 Gviz一些实现受到 Ryan Davis 的启发。 安装 将此行添加到应用程序的 Gemfile 中: gem 'gviz' 然后执行: $ bundle 或者自己安装: $ gem install gviz 用法 一个简单的例子。 # add nodes and edges(route method) # save to files with dot and png formats(save method) require "gviz" Graph do route :main => [:init, :parse, :cleanup, :printf] route :init => :make, :parse => :execute route :execut
【文件预览】:
Gviz-master
----.gitignore(164B)
----README.md(4KB)
----bin()
--------gviz(62B)
----Gemfile(39B)
----examples()
--------colors.rb(6KB)
--------sample4.png(11KB)
--------sample1.png(35KB)
--------sample3.png(48KB)
--------sample2.png(42KB)
--------examples.rb(2KB)
--------arrows.rb(603B)
--------shapes.rb(925B)
----spec()
--------fixtures()
--------gviz_node_spec.rb(973B)
--------system_extension_spec.rb(2KB)
--------gviz_edge_spec.rb(3KB)
--------gviz_spec.rb(14KB)
--------gviz_command_spec.rb(3KB)
--------gviz_draw_spec.rb(6KB)
--------spec_helper.rb(238B)
----LICENSE.txt(1KB)
----gviz.gemspec(979B)
----.travis.yml(30B)
----lib()
--------gviz()
--------gviz.rb(499B)
----Rakefile(117B)

网友评论