refactor: simplify type management in Codecs by tbouffard · Pull Request #723 · maxGraph/maxGraph
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.
tbouffard
deleted the
refactor/simplify_node_mgt_in_codecs
branch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters