Hi, excuse me. Can you answer a few questions for me #1572
Replies: 10 comments 17 replies
-
3、 After connecting, the |
Beta Was this translation helpful? Give feedback.
-
There won't be a replacement for it. It's going to be removed and that's it, no more "auto" application of changes.
No idea what this is supposed to mean.
Have you tried quite literally just adding a markerEnd to the edge? ^^ const onConnect = (conn) => {
addEdges({ ...conn, markerEnd: MarkerType.Arrow })
} |
Beta Was this translation helpful? Give feedback.
-
Thank you for your reply. Here's the translation: 1、I have a requirement where I need to ask for confirmation before deleting. When the user deletes using the delete key, there is no confirmation. Can this confirmation functionality be added? After adding this property, the connecting lines in the background automatically disappear. 2、Are there properties to disable zooming, scaling, and moving the background? 3、If dynamically created components are maintained within a component, how can I access them from outside? Let me know if you need further assistance with these topics! |
Beta Was this translation helpful? Give feedback.
-
https://vueflow.dev/examples/layout.html Hello, this example is too complicated, I don't need the animation in it. I need to automatically layout my nodes, there is no concise version of the code, thank you。 |
Beta Was this translation helpful? Give feedback.
-
Ok, I'll look at the examples carefully 。https://vueflow.dev/examples/layout.html Because that's what we're using in this example " animated "{ id: 'e1-2', source: '1', target: '2', type: edgeType, animated: true }, I thought animated was a straight line , |
Beta Was this translation helpful? Give feedback.
-
1、 |
Beta Was this translation helpful? Give feedback.
-
node-Toolbar can't be used by edges, right? What if edges want a toolbar |
Beta Was this translation helpful? Give feedback.
-
To use slots, you must have type: custom. I want to keep type: 'step'. In this case, how to use slots? All lines can use slots |
Beta Was this translation helpful? Give feedback.
-
I don't want the node to be out of view of the current viewer? Do not want the background to drag (move) |
Beta Was this translation helpful? Give feedback.
-
I am closing this discussion since it devolved into just me answering questions that basically are all documented already. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
1、VueFlow has added apply-default, causing the links between lines to become ineffective. I have configured onConnect(addEdges), and it has been mentioned that this property will be removed in the next version without indicating a replacement.
2、Is there an API that does not have zoom in/out functionality and background movement? Thank you
Beta Was this translation helpful? Give feedback.
All reactions