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

refactor: simplify some code using the mxGraph API #3153

Merged
merged 3 commits into from
Aug 26, 2024

Conversation

tbouffard
Copy link
Member

CoordinatesTranslator: remove extra null check

buildParameter: shape properties are assumed to be set by the CellRender, according to the cell style. So only use properties for the shape style.

NOTE: we have a large number of tests, very varied, so they would have detected regressions in code changes if there were any.

`CoordinatesTranslator`: remove extra null check

`buildParameter`: shape properties are assumed to be set by the CellRender, according to the cell style.
So only use properties for the shape style.

NOTE: we have a large number of tests, very varied, so they would have detected regressions in code changes if there were any.
@tbouffard tbouffard added refactoring Code refactoring mxgraph integration Something involving mxGraph (be aware of EOL) labels Aug 23, 2024
Copy link

github-actions bot commented Aug 23, 2024

🎊 PR Preview 1fba28f has been successfully built and deployed to https://process-analytics-bpmn-visualization-js-doc_preview-pr-3153.surge.sh

🕐 Build time: 0.011s

🤖 By surge-preview

Copy link

github-actions bot commented Aug 23, 2024

🎊 PR Preview 1fba28f has been successfully built and deployed to https://process-analytics-bpmn-visualization-js-demo_preview-pr-3153.surge.sh

🕐 Build time: 0.01s

🤖 By surge-preview

@tbouffard tbouffard marked this pull request as ready for review August 23, 2024 13:56
@tbouffard tbouffard requested review from csouchet and removed request for csouchet August 23, 2024 13:56
@tbouffard tbouffard marked this pull request as draft August 23, 2024 13:57
@tbouffard tbouffard marked this pull request as ready for review August 23, 2024 14:22
Copy link

sonarcloud bot commented Aug 26, 2024

@tbouffard tbouffard merged commit a1c7c26 into master Aug 26, 2024
23 checks passed
@tbouffard tbouffard deleted the refactor/simplify_mxgraph_code branch August 26, 2024 08:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mxgraph integration Something involving mxGraph (be aware of EOL) refactoring Code refactoring
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants