开发者

Rails Workflow::create_workflow_diagram options

开发者 https://www.devze.com 2023-01-07 04:10 出处:网络
What are all the options available for the command: Workflow::create_workflow_diagram(klass, dir, opts)

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

精彩评论

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