fix: Graph.isValidAncestor manages null Cell parameter by tbouffard · Pull Request #699 · maxGraph/maxGraph

@tbouffard

At runtime, some code pass a `null` Cell parameter, for example in `Graph.getEdges`. Previously, the implementation
thrown an error if Cell was null.

Also improve the signature of Graph.isValidAncestor
  - the `cell` parameter accepts `null` values
  - the `recurse` parameter is marked as optional

@tbouffard added the bug

Something isn't working

label

Feb 28, 2025

@tbouffard tbouffard marked this pull request as ready for review

March 1, 2025 12:32

@tbouffard

@tbouffard tbouffard marked this pull request as ready for review

March 2, 2025 10:33

@tbouffard tbouffard deleted the fix/236_isValidAncestor_accept_null_Cell branch

March 2, 2025 10:47