Skip to content

Commit c222006

Browse files
committed
feature #18398 [Workflow] Metadata dumping (Louis-Proffit)
This PR was submitted for the 6.3 branch but it was merged into the 6.4 branch instead. Discussion ---------- [Workflow] Metadata dumping Refs * symfony/symfony#50604 Document metadata dumping option for workflow. The corresponding symfony PR handles only DOT dumper. Commits ------- 3a4b436 [Workflow] feature symfony#50604 metadata dumping
2 parents 9aeccbd + 3a4b436 commit c222006

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed
Loading

workflow/dumping-workflows.rst

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,21 @@ files and ``PlantUmlDumper`` to create the PlantUML files::
6565
Styling
6666
-------
6767

68+
You can use ``--with-metadata`` option in the ``workflow:dump`` command to include places, transitions and
69+
workflow's metadata.
70+
71+
The DOT image will look like this :
72+
73+
.. image:: /_images/components/workflow/blogpost_metadata.png
74+
75+
.. note::
76+
77+
The ``--with-metadata`` option only works for the DOT dumper for now.
78+
79+
.. note::
80+
81+
The ``label`` metadata is not included in the dumped metadata, because it is used as a place's title.
82+
6883
You can use ``metadata`` with the following keys to style the workflow:
6984

7085
* for places:

0 commit comments

Comments
 (0)