Symfony Workflow Component: Dump workflows as PDF

One very cool feature of the Symfony Workflow Component is the ability to export workflows via graphviz.

Did you know you can also directly render those as PDF files?

It’s actually quite easy. Like so:

php bin/console workflow:dump myWorkflow | dot -Tpdf > data/workflow/myWorkflow.pdf

Leave a Reply

Your email address will not be published. Required fields are marked *