refactor(VertexHandler): simplify management of `style.rotation` by tbouffard · Pull Request #634 · maxGraph/maxGraph

@tbouffard

Always use the nullish coalescing (??) operator instead of the logical OR operator, and avoid extra conversion to number
as the rotation property is always a number.

@tbouffard added the chore

Build, CI/CD or repository tasks (issues/PR maintenance, environments, ...)

label

Jan 12, 2025

@tbouffard tbouffard deleted the refactor/improve_VertexHandler_style.rotation branch

January 13, 2025 16:29

@tbouffard tbouffard added refactor

Code refactoring

and removed chore

Build, CI/CD or repository tasks (issues/PR maintenance, environments, ...)

labels

Jan 29, 2025