Configure editor to load diagram at the center


How do I configure the frontend so that the diagram is always loaded at the center of the editor? Right now i have to zoom out and scroll to find the image which is usually located at the corner of the editor.
Any help would be appreciated. Thanks

@san thank you for the discussion, which diagram are you referring to, is it contributed by something like eclipse glsp, a vscode extension or something else?

Hi @vince-fugnitto thank you for your response. It is contributed by eclipse glsp, yes. When the theia editor is opened, the model is loaded and the resulting diagram is always displayed in the corner of the screen, and have to be displayed by zooming out.

@san thanks! You might want to ask the question directly there as it seems to be glsp specific, and the overall maintainers are different than the framework:

1 Like

Thank you for your response, I’ll get in touch with them.

1 Like