开发者

Rails Workflow::create_workflow_diagram options

What are all the options available for the command:

Workflow::create_workflow_diagram(klass, dir, opts)

and how shall I spec开发者_运维问答ify them on Ruby code?

I've already found this on graphviz options, but I don't know how to use these options on Ruby code...

Thank you all!


You pass the options separated by commas as a string:

Workflow::create_workflow_diagram(Account, "/tmp/", 'rankdir="LR", size="7,11.6", ratio="fill"')

Taken from here: http://yardoc.org/docs/geekq-workflow/Workflow

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜