Amazon Best VPN GoSearch

OnWorks 网站图标

dot2ruby - 云端在线

在 OnWorks 免费托管服务提供商中通过 Ubuntu Online、Fedora Online、Windows 在线模拟器或 MAC OS 在线模拟器运行 dot2ruby

这是 dot2ruby 命令,可以使用我们的多个免费在线工作站之一在 OnWorks 免费托管服务提供商中运行,例如 Ubuntu Online、Fedora Online、Windows 在线模拟器或 MAC OS 在线模拟器

程序:

您的姓名


dot2ruby - 从 graphviz 脚本创建 ruby​​ 脚本

概要


点2红宝石 [-o文件[-T格式[-h[-V] 脚本

商品描述


点2红宝石 是一种允许您从 graphviz 脚本创建 ruby​​ 脚本的工具。

参见 /usr/share/doc/ruby-graphviz/ ,了解更多详情。

配置


-o, - 输出文件 [文件]
输出图像文件的路径(默认 STDOUT)

-T, - 输出格式 [格式]
输出格式(默认:png)

-p, - 小路
Graphviz 路径

-V, - 版
显示版本

-h, - 帮帮我
显示此使用消息


$猫你好.dot
有向图 G {Hello->World;}

$ dot2ruby 你好.dot
# 此代码由 dot2ruby.g 生成

需要“红宝石”
需要'graphviz'
graph_g = GraphViz.digraph("G") { |graph_g|
graph_g[:bb] = '0,0,70,108'
node_hello = graph_g.add_nodes( "Hello", :height => '0.5', :label => '\N', :pos => '35,90', :width => '0.88889' )
graph_g.add_edges( "Hello", "World", :pos => 'e,35,36.413 35,71.831 35,64.131 35,54.974 35,46.417' )
node_world = graph_g.add_nodes( "World", :height => '0.5', :label => '\N', :pos => '35,18', :width => '0.97222' )
}
puts graph_g.output(:canon => String)

使用 onworks.net 服务在线使用 dot2ruby


免费服务器和工作站

下载 Windows 和 Linux 应用程序

Linux 命令

Ad




×
广告
❤️在这里购物、预订或购买——免费,有助于保持服务免费。