refactor!: remove `Dictionary` and use `Map` instead by tbouffard · Pull Request #857 · maxGraph/maxGraph
The `Dictionary` class had been introduced by mxGraph for browser without `Map` object support. The `Map` class is available in the ECMAScript version supported by maxGraph, so we can remove it. In the examples in this repository, the package size decreases by 0.7kB. BREAKING CHANGES: The `Dictionary` class has been removed. Use the `Map` class instead, which is a standard JavaScript feature.
coderabbitai bot added a commit that referenced this pull request
Jun 26, 2025Docstrings generation was requested by @tbouffard. * #857 (comment) The following files were modified: * `packages/core/src/util/treeTraversal.ts`
tbouffard
changed the title
refactor!: remove
refactor!: remove Dictionary and use ECMAScript Map insteadDictionary and use Map instead
tbouffard
deleted the
refactor/remove_dictionary
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