Text Wrapping in Label Node #1333
Replies: 2 comments 2 replies
-
SVG has no builtin support for line wrapping. As a workaround you can use a I believe @rsoika has a SVG-native implementation for a similar requirement though. |
Beta Was this translation helpful? Give feedback.
-
Hi @noman-khan1224 , yes we have implemented a custom view on the client, that splits up a longer label into multiple lines. We use Find the implementation here: https://github.com/imixs/open-bpmn/blob/48a21aeebc511a39a69b55e8d02eeba8d5605528/open-bpmn.glsp-client/open-bpmn-glsp/src/bpmn-element-views.tsx#L538 And you can try it out in our online demo here: https://open-bpmn.imixs.org/#/usr/src/app/open-bpmn.glsp-client/workspace The labels of an event node and the Text Annotation are supporting this feature. |
Beta Was this translation helpful? Give feedback.
-
We're working on incorporating text wrapping into our labelNode, using the GLabelView to create it, which typically produces a tag. Given that our text content might exceed the fixed size of the RectangularNode in our setup, is there a method to enable text wrapping for nodes with longer text content?
Beta Was this translation helpful? Give feedback.
All reactions