refactor: simplify type management in Codecs by tbouffard · Pull Request #723 · maxGraph/maxGraph

@tbouffard

Simplify null checks and introduce the `xmlUtils.isElement` internal function that narrow down Element type (no longer need to cast types manually).
This new function is used in other places when possible.

coderabbitai[bot]

@tbouffard

@tbouffard

coderabbitai[bot]

coderabbitai[bot]

@tbouffard

coderabbitai[bot]

@tbouffard tbouffard deleted the refactor/simplify_node_mgt_in_codecs branch

March 24, 2025 15:04