eclipse-sirius / sirius-web

Sirius Web: open-source low-code platform to define custom web applications supporting your specific visual languages
https://eclipse.dev/sirius/sirius-web.html
Eclipse Public License 2.0
72 stars 48 forks source link

Nesting cannot be implemented in Sirius web #2393

Open huazai023 opened 11 months ago

huazai023 commented 11 months ago

I have set up a nested model that can be displayed normally in Sirius desktop, but cannot be displayed properly in Sirius web The model displays its effects in Sirius desktop : img_v2_f6f2bd38-de39-4016-b36e-816eaadb642g The model displays its effects in Sirius web : image

pcdavid commented 11 months ago

Hi.

Using the native View DSL and the Node Description > Reused Child Node Descriptions reference to allow for recursive elements, I have no issue displaying at least 6 nesting levels:

screenshot-2023-09-18_14-55

Are you using the compatibility layer (i.e. reusing your Sirius Desktop-based odesign file)? This may be a limitation specific to the compatibility layer.

huazai023 commented 11 months ago

We are indeed using the desktop version of the odesign file

huazai023 commented 11 months ago

I have resolved the issue of incompatibility between Sirius web and Sirius desktop nesting, including issues with not displaying nesting properly and no menu

pcdavid commented 11 months ago

Do you mean you have implemented a fix or workaround on your side (in your odesign file), or you have developed a patch for Sirius Web itself to fix/improve these? If you have a patch, please consider proposing it as a PR.