views:

32

answers:

1

What are all the options available for the command:

Workflow::create_workflow_diagram(klass, dir, opts)

and how shall I specify 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!

A: 

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

Manuel M