Tom Vandenbussche
Tom Vandenbussche
When the client is initialized, the model is requested from the server. It seems however that when the client receive a response from the server, the model if first set...
I fixed it by overriding `HiddenBoundsUpdater` like this: ```typescript protected getBounds(elm: SVGGraphicsElement, element: BoundsAware): Bounds { const bounds = super.getBounds(elm, element) if (element instanceof SPort) { return { x: bounds.x,...
> I need to provide a proper size for the Ports during "Hidden Render Phase" because the size is also used by the ELK Layout Engine (https://github.com/eclipse/sprotty-layout/) to calculate the...
I currently solve this by splitting the text into multiple labels, and then have ELK take care of layouting. So that sounds similar to option (3) and probably the safest...
@planger I was also thinking about how approach (1) would behave in other SVG viewers. Regardless it still seems like an interesting view to have available. I'm still wondering how...
I just did some testing with `foreignObject` on Linux and it seems to break most image viewers (including Inkspace) making the exported SVG practically unusable. So I feel that realistically...
> Well, for me it doesn't really break the SVG export, but it would just ignore the foreignObject. So the box with the text would just be missing in the...
@planger I havn't looked into layouting that much so maybe I should do that first. Regarding the PNG exporting I have been experimenting with that and I'm probably going to...
Are there still plans to implement this fix? This bug caused a lot of confusion until I found out about this issue.