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
精彩评论