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

[FEAT] Detect the Loop Marker of an activity #456

Merged
merged 8 commits into from
Aug 4, 2020

Conversation

csouchet
Copy link
Member

@csouchet csouchet commented Aug 4, 2020

Closes #145

Expected

image

At commit c9b5223

image

@csouchet csouchet added enhancement New feature or request BPMN support Something about the BPMN specification that the lib is already supporting or will support labels Aug 4, 2020
@csouchet csouchet requested a review from tbouffard August 4, 2020 14:06
@csouchet csouchet marked this pull request as ready for review August 4, 2020 14:06
Copy link
Member

@tbouffard tbouffard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As described in the related issue, we don't manage the final marker position for now

docs/bpmn-support.adoc Show resolved Hide resolved
}

protected paintMarkerIcon(paintParameter: PaintParameter): void {
switch (StyleUtils.getBpmnMarker(this.style)) {
Copy link
Member

@tbouffard tbouffard Aug 4, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❓ with this implementation we only support a single markers, but we know that we will support several later. This is because you plan we will do it later?
I see an issue not doing it now, we will need to change lot of code prior being able to support several markers, so a refactoring will be need 1st. Can we consider doing it now instead?
In addition, we could also consider the activity collapsed icon as a marker as well

Copy link
Member

@tbouffard tbouffard Aug 4, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Decision after discussion with @csouchet

  • we keep this PR as it is now
  • 2 others PR will be created
    • a 1st one, soon to manage marker and expanded 'icon' with the same way in the mxGraph style. This will prepare management of other markers, helps to manage markers position later
    • prior supporting a new marker (probably multi-instantiation), the model objects will be updated to store several markers

Copy link
Member

@tbouffard tbouffard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing model schema update 😄

@csouchet
Copy link
Member Author

csouchet commented Aug 4, 2020

Missing model schema update 😄

Added 😄

@csouchet csouchet requested a review from tbouffard August 4, 2020 16:57
@tbouffard tbouffard merged commit d80b324 into master Aug 4, 2020
@tbouffard tbouffard deleted the 145-Detect_Loop_Marker_of_activity branch August 4, 2020 17:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BPMN support Something about the BPMN specification that the lib is already supporting or will support enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEAT] Detect the Loop Marker of an activity
2 participants