[FEAT] General improvements for default styles management #2471
Labels
BPMN diagram styling
Change the standard rendering: stroke color, thickness
enhancement
New feature or request
Milestone
Is your feature request related to a problem? Please describe.
This is a top level issue to discuss ways we could introduce to easily manage several use cases related to BPMN styles and themes.
Currently in version 0.29.1, we let users customize the styles and theme with hacks:
StyleDefault
enum)BpmnVisualization
class and calling mxGraph native code (see the Hacktoberfest demo or the bpm-visualization "load diagram" demo)Describe the solution you'd like
List of use cases
Note: a lot of use cases are mentioned in #953, in particular live style changes done for the November 2020 POC (#869)
Possible implementation
Introduce a new "style" API
methods:
configure:
reset / resetStyleDefinitions / resetToDefaults:
possible implementation (see also #2458)
defaultVertex
anddefaultEdge
?To check: what will happen to elements that received specific style changes with #1030 and #2468? Probably removed
Alternative: enrich some existing options
Changing the initial default may be done using the GlobalOptions or LoadOptions, see #1993
Existing issues that can benefit from the decision taken here
The text was updated successfully, but these errors were encountered: