Skip to content

Workflow: Allow shapes to be set for places and transitions in dumpers #42620

@gisostallenberg

Description

@gisostallenberg

Description
I would like to be able to set the shape of a place or transition. In Graphviz this could be done by changing 'shape' in the dumper based on the metadata attributes (e.g. to 'diamond'). I'm not sure about the mermaid and plant uml implementation possibilities, but if possible I'm willing to provide a PR. First I wanted to check if you are interested in such a feature and what sollution path to take. One way to address this issue is to introduce a set of style classes: (Graphviz|Mermaid|PlantUml|)(Transition|Place)DumperStyle(|Interface), which can handle the metadata and transform it into the proper style. Another way is to just add more of the parsing of the attributes in the various dumpers, which could get cluttered.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions