Skip to content

Commit

Permalink
feature symfony#18398 [Workflow] Metadata dumping (Louis-Proffit)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
OskarStark committed Dec 9, 2023
2 parents 9aeccbd + 3a4b436 commit c222006
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
Binary file added _images/components/workflow/blogpost_metadata.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 15 additions & 0 deletions workflow/dumping-workflows.rst
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,21 @@ files and ``PlantUmlDumper`` to create the PlantUML files::
Styling
-------

You can use ``--with-metadata`` option in the ``workflow:dump`` command to include places, transitions and
workflow's metadata.

The DOT image will look like this :

.. image:: /_images/components/workflow/blogpost_metadata.png

.. note::

The ``--with-metadata`` option only works for the DOT dumper for now.

.. note::

The ``label`` metadata is not included in the dumped metadata, because it is used as a place's title.

You can use ``metadata`` with the following keys to style the workflow:

* for places:
Expand Down

0 comments on commit c222006

Please sign in to comment.