-
Notifications
You must be signed in to change notification settings - Fork 33
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] Render Pool when Participant references a Process #520
Conversation
cdbe66e
to
3659b8c
Compare
} else if (bpmnElement.kind === ShapeBpmnElementKind.POOL) { | ||
// mxConstants.STYLE_HORIZONTAL is for the label | ||
// In BPMN, isHorizontal is for the Pool | ||
styleValues.set(mxConstants.STYLE_HORIZONTAL, bpmnCell.isHorizontal ? '0' : '1'); |
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.
❓ why not putting a boolean like we do for the lane default style?
style[mxConstants.STYLE_HORIZONTAL] = false;
This is clearer and more understandable. We previously did it when we have a dedicated style entry for the activity isExpanded
But maybe this is a mxGraph constraint?
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.
I tried to do this, but it's not working.
As we need to convert boolean as string, the final style will be "horizontal=false". But MxGraph wants "horizontal=0".
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.
ok, fair enough, let keep this as it is
closes #254
covers #127
B.2.0
A.4.1