Performance issue with dynamic wrapped text (Documentation) in SVG, layout dependency on runtime height #3123
Replies: 1 comment 2 replies
-
|
Hello! I see, that you have also a large lag when you add a new documentation section. What is the reason, because rerendering element shouldn't take so long? If I understand correctly, you are rerendering the shape with the new dynamic markup. So in this case you can as well define documentation sections as a Regarding the resizing. It is better to resize the inner view markup only when the resizing is complete. If you are using Free Transform component there is a |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Introduction
Hi JointJS team,
I’m facing a performance and layout challenge when rendering dynamic wrapped text inside SVG elements, and I’d like to ask if there is an official or recommended solution.
Background
Current implementation
This works functionally, but introduces serious performance issues when:
Constraints / Difficulties
Documentation items are added dynamically after user interaction (e.g. clicking “Add Documentation”).
Question
Is there an official or recommended approach in JointJS to handle this scenario?
Any guidance or best practices would be greatly appreciated.
Thank you!
Steps to reproduce
No response
Restrictions & Constraints
No response
Does your question relate to JointJS or JointJS+. Select both if applicable.
JointJS
Beta Was this translation helpful? Give feedback.
All reactions