fix: correctly convert "arc" attributes to boolean in StencilShape by tbouffard · Pull Request #788 · maxGraph/maxGraph

@tbouffard

When set, the `large-arc-flag` and `sweep-flag` attributes were always considered as true, so the rendering was incorrect.
This is a regression introduced during the migration from `mxGraph`.

A new story has been added to confirm that the problem is now fixed.

@tbouffard added the bug

Something isn't working

label

Apr 28, 2025

@tbouffard

implementation: only check number in string in the boolean conversion (conform to xsd)
improve documentation and comments
story: enable panning

@tbouffard tbouffard deleted the fix/StencilShape_arc_attribute_conversion_error branch

April 29, 2025 12:25