Closed
Description
Description
The PR [Workflow] Add a MetadataStore to fetch some metadata #26092 has been merged so we can add some metadata to our workflows.
The text of the PR shows an example with color: grey
, so it looks like the support of color was planned.
When I dump the workflow with both formats, there are no color on the images, like the examples in the documentation.
How can we add colors to the dumped workflow? Is the feature implemented yet?
See also symfony/symfony-docs#9476 if it needs it be documented.
Example
I use symfony/workflow:4.1.3
(the problem is the same with 4.1.6
).
I have a workflow like this:
framework:
workflows:
my_entity:
type: 'state_machine'
marking_store:
type: 'single_state'
arguments:
- 'state'
supports:
- App\Entity\MyEntity
initial_place: created
places:
created:
metadata:
description: Entity created, waiting for next step
color: green
# …
And the output doesn't use the colors or the description.