Skip to content
This repository was archived by the owner on Oct 21, 2025. It is now read-only.

Conversation

@Kr0nox
Copy link
Contributor

@Kr0nox Kr0nox commented Apr 1, 2025

If the features are present on a model after loading, they do not have an underlying implementation. This leads to errors when trying to display the diagram.
Previously this was solved by this

public static preprocessModelSchema(modelSchema: SModelRoot): void {
// These properties are all not included in the root typing.
"features" in modelSchema && delete modelSchema["features"];
"canvasBounds" in modelSchema && delete modelSchema["canvasBounds"];

#98 falsely removed these lines.

They are now added again in an easier to read method and longer explanation

@Nicolas-Boltz Nicolas-Boltz merged commit 9ef013d into main Apr 1, 2025
3 checks passed
@Nicolas-Boltz Nicolas-Boltz deleted the fix-features branch April 1, 2025 12:17
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants