When implementing embedding in the add event of graph and inserting a corner into the link, the corner of the link is not implemented as it is. #2915
Unanswered
james-ep01
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Introduction
When implementing embedding in the add event of graph and inserting a link into a corner, the corner of the link is not implemented as it is. So far, I have been embedding in two events, cell:pointerdown and element:pointerdown, to maintain the embedding, but is it correct to maintain the embedding in real time when a corner is created?
I know that the add event of graph is an event that occurs when adding elements, links, etc. Even if a link is embedded, the embedding is broken when a corner is created. Why does this problem occur? Also, the cell:pointerdown and element:pointerdown events are events that occur in real time, so is it correct to continue executing them? My app design should have a total number of over 500, including links.
And the bigger problem is that when something goes wrong, this feature gets released intermittently without me knowing, causing the link to become weird.
And when moving the currently selected embedded parent and executing cell:pointerdown and element:pointerdown, toFront is executed to bring it to the front, and because of this, the zindex of the part increases indefinitely.
Reference video 1: When embedding code is added only to the add event.
add.mp4
Reference video 2: When add event, cell:pointerdown, and element:pointerdown are all included.
default.mp4
Steps to reproduce
No response
Restrictions & Constraints
No response
Does your question relate to JointJS or JointJS+. Select both if applicable.
JointJS, JointJS+
Beta Was this translation helpful? Give feedback.
All reactions