feat: add multiple labels on elements #2096
Closed
vanfrancoisle
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
It would be possible to add an API that defines element labels separately from markup. And later implement features like label dragging. But that's a very low priority for now because you can: 1) define multiple labels already Add them to the element markup: 2) drag labels Add and embed them as new elements: |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Looking at the documentation, I noticed that there is no possibility to add multiple labels on elements like for arcs. I wonder if it would be possible to add multiple labels for elements in the library. The functions will be the same as for the arcs.
The labels are composed of a g element containing a rectangle and a text.
joint/src/dia/Link.mjs
Line 254 in 7771205
Here is an image representing the functionality :
If this request is not possible, a solution is described in this url : https://groups.google.com/g/jointjs/c/r45SIrra1IQ
and another type of solution can be found in this discussion : #1749.
Beta Was this translation helpful? Give feedback.
All reactions