Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rework bpmn activity and event label positions #63

Merged
merged 5 commits into from
Apr 9, 2021

Conversation

tbouffard
Copy link
Member

@tbouffard tbouffard commented Oct 16, 2020

This is not perfect but much better
closes #53

Rendering of the A.2.0 file

Previous rendering

image

Activity improvement

image

Event improvement

image

@tbouffard tbouffard added the enhancement New feature or request label Oct 16, 2020
@tbouffard tbouffard changed the title Feat/53 improve bpmn label positions Rework bpmn label positions for shape Oct 16, 2020
@tbouffard tbouffard changed the title Rework bpmn label positions for shape Rework bpmn shape label positions Oct 16, 2020
@tbouffard tbouffard changed the title Rework bpmn shape label positions Rework bpmn activity label positions Nov 5, 2020
@tbouffard tbouffard marked this pull request as ready for review November 5, 2020 14:48
@tbouffard tbouffard marked this pull request as draft November 5, 2020 14:52
@tbouffard tbouffard force-pushed the feat/53-improve_bpmn_label_positions branch from e994e05 to c0956c9 Compare November 5, 2020 15:00
BPMN vendor defaults are almost always setting the label at the center of the
activity which is perfect. So no need to compute label bounds.
When we will support various task, detection will be managed by a dedicated
method
@tbouffard tbouffard force-pushed the feat/53-improve_bpmn_label_positions branch from c0956c9 to 2e86330 Compare November 5, 2020 15:13
@tbouffard tbouffard marked this pull request as ready for review November 5, 2020 15:14
@tbouffard tbouffard changed the title Rework bpmn activity label positions Rework bpmn activity and event label positions Nov 6, 2020
@baptistemesta
Copy link
Contributor

Looks good 👍

@baptistemesta baptistemesta merged commit 55c4c04 into master Apr 9, 2021
@baptistemesta baptistemesta deleted the feat/53-improve_bpmn_label_positions branch April 9, 2021 14:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Rework shape bpmn label positions
2 participants