File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 4
4
How to Dump Workflows
5
5
=====================
6
6
7
- To help you debug your workflows, you can dump a representation of your workflow with
8
- the use of a ``DumperInterface ``. Use the ``GraphvizDumper `` to create a
9
- PNG image of the workflow defined above::
7
+ To help you debug your workflows, you can dump a representation of your workflow
8
+ with the use of a ``DumperInterface ``. Use the ``GraphvizDumper `` to create a
9
+ SVG image of the workflow defined above::
10
10
11
11
// dump-graph.php
12
12
$dumper = new GraphvizDumper();
13
13
echo $dumper->dump($definition);
14
14
15
15
.. code-block :: terminal
16
16
17
- $ php dump-graph.php | dot -Tpng -o graph.png
17
+ $ php dump-graph.php | dot -Tsvg -o graph.svg
18
18
19
19
The result will look like this:
20
20
@@ -25,7 +25,7 @@ with the ``WorkflowDumpCommand``:
25
25
26
26
.. code-block :: terminal
27
27
28
- $ php bin/console workflow:dump name | dot -Tpng -o graph.png
28
+ $ php bin/console workflow:dump name | dot -Tsvg -o graph.svg
29
29
30
30
.. note ::
31
31
You can’t perform that action at this time.
0 commit comments