-
Notifications
You must be signed in to change notification settings - Fork 36
[FEAT] Render Task #207
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 Task #207
Conversation
9a4f830 to
a1417c2
Compare
| constructor(private graph: mxgraph.mxGraph) {} | ||
|
|
||
| public configureStyles(): void { | ||
| this.mxConstants.RECTANGLE_ROUNDING_FACTOR = 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.
👍 nice
| private configureTaskStyle(): void { | ||
| const style = this.mxUtils.clone(this.getStylesheet().getCellStyle(ShapeBpmnElementKind.TASK_USER), this.getDefaultVertexStyle()); | ||
| style[this.mxConstants.STYLE_STROKECOLOR] = '#663399'; | ||
| const style = this.cloneDefaultVertexStyle(); |
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 guess we will generalize styling for other tasks when implementing rendering for user or service task
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.
Yes, I started the refactoring in the Service Task's PR #208 😉
tbouffard
left a comment
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.
Co-Authored-By: Thomas Bouffard <[email protected]>
|
|
aibcmars
left a comment
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.
LGTM
Done |



Closes #142