Done: Automatically wrapping long text in nodes #846
-
Hi, First off, I really enjoy using this very extensive graph editor/modeler. I was wondering if it is possible to somehow automatically wrap long text in nodes when, for example, the line exceeds the shape boundary. Taking into account the basic example from 节点 Node: I read somewhere that it would be possible by putting the text element in a ForeignObject. Though, I am not proficient in SVG, let alone automatically change the boundaries of the foreignobject to correspond with the shape when the shape gets resized or something. If anyone would have some tips on how to possibly achieve this, that would be greatly appreaciated. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
@eensander Hopefully this demo helped you |
Beta Was this translation helpful? Give feedback.
@eensander Hopefully this demo helped you