See milestone 0.33.0 to get the list of issues covered by this release.
Highlights
Introducing the new "Update Style" API
The new API lets update the style of one or more elements. The fill, font, stroke and global opacity properties can be updated or reset to default values.
// Change the style of a Task
this.bpmnVisualization.bpmnElementsRegistry.updateStyle(['task_1'], {
fill: {color: 'orange', opacity: 40},
stroke: {color: 'blue', width: 3},
});
// Change the style of a Sequence Flow
this.bpmnVisualization.bpmnElementsRegistry.updateStyle(['sequenceFlow_1'], {
stroke: {color: 'blue', width: 4},
});
// Change the the fill color of the Task again
// Previously updated properties remain in effect
this.bpmnVisualization.bpmnElementsRegistry.updateStyle(['task_1'], {
fill: {color: 'blue'},
});
// Restore the default value of the stroke color of the Sequence Flow
this.bpmnVisualization.bpmnElementsRegistry.updateStyle(['sequenceFlow_1'], {
stroke: {color: 'default'},
});
For more details about the options you can use to update the style, see the v0.33.0 type definitions.
You can trigger a rebase of this PR by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps bpmn-visualization from 0.32.0 to 0.33.0.
Release notes
Sourced from bpmn-visualization's releases.
... (truncated)
Commits
f6c4a02
chore(release): 0.33.0979410e
chore(release): prepare version for releasef1901df
feat: reset style per property with the "Update Style" API (#2585)19caec0
feat: add all BPMN Elements in Elements Identification page (#2584)b4944ad
feat: configure programatically the width of stroke style of a shape/edge (#2...9120cd5
feat(style): configure programatically the opacity style properties of a shap...bc94fc4
refactor: change snapshot name of e2e for consistency (#2582)a67a850
feat(style): configure programatically the fill style of a shape (#2580)e6317b6
feat(style): configure programatically the font style of a shape/edge (#2579)f731f7b
chore(deps-dev): bump rollup from 3.18.0 to 3.19.1 (#2575)You can trigger a rebase of this PR by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)