integration with the latest elkjs #1345
Replies: 3 comments 2 replies
-
Hi @kchobantonov, Could you describe your setup a little bit more and what error are you getting exactly? Are the types actually incompatible between those versions? We have encountered similar problems of getting elk.js properly running when packaging it as a VS Code extension and running it in Theia (#1238). Our overall goal is to update it to the latest version (#1313) but I think packaging it in a custom setting (e.g., Vite) may always require some special handling so we'll try to make it as configurable as possible. |
Beta Was this translation helpful? Give feedback.
-
I know that @Sakrafux was also working on integrating GLSP in a browser-only context and provided a PR to make or elkjs integration work in the browser context. Maybe this solution also works for your usecase. |
Beta Was this translation helpful? Give feedback.
-
closing this discussion as I have the solution how to fix that issue now as suggested above. |
Beta Was this translation helpful? Give feedback.
-
Hi All,
working on making the workflow example to work entirely on the browser and so far everything work except for the auto layout that is based on elkjs
instead of using configureELKLayoutModule from '@eclipse-glsp/layout-elk'; I had to copy that code and include it in my code base so that I can change this section
This made that work when I use vite with dev mode but when I do a production build then this is not working since this is hitting this issue kieler/elkjs#96 which should be fixed in 0.7.3-dev and above but when I change the used version 0.7.1 to either 0.7.3-dev or to the latest my typescript compiler complain about incompatible types.
Krasirmir
Beta Was this translation helpful? Give feedback.
All reactions