-
Notifications
You must be signed in to change notification settings - Fork 31
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
Conversation
There was a problem hiding this 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
} | ||
|
||
protected paintMarkerIcon(paintParameter: PaintParameter): void { | ||
switch (StyleUtils.getBpmnMarker(this.style)) { |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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
There was a problem hiding this 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 😄
Added 😄 |
Closes #145
Expected
At commit c9b5223