forked from jgraph/mxgraph
-
Notifications
You must be signed in to change notification settings - Fork 199
Closed
Labels
bugSomething isn't workingSomething isn't working
Milestone
Description
When migrating from mxGraph to maxGraph I realized decoding XML doesn't work if the final code is minified. This is because decoding XML elements and finding a corresponding decoder is based on the constructor name. When code is minified, those constructor names are not same as the original ones (for example, GraphDataModel, Cell, ...).
To fix this I believe the decoders and codec registry need to be refactored to not rely on constructor names anymore.
Please let me know if this a correct observation, then I can start working on a PR to address the issue.
Thanks!
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working