VueFlow – Edges don’t persist after enabling connectable on “Math Operation” example clone #1965
Closed
calebeaires
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello VueFlow team,
I cloned the “Math Operation” example and changed all node/handle properties from
:connectable="false"
to:connectable="true"
to allow creating connections by dragging edges. However, the connector does not persist the edge after I drop it—no edge is created or saved.Details:
:connectable="true"
applied to all relevant nodes/handlesCould you please advise what I might be missing? For example:
onConnect
and manually push toedges
?isValidConnection
,type
, orid
requirements for handles in this example?connectOnClick
,elementsSelectable
,defaultEdgeOptions
)?If helpful, I can provide a minimal reproducible repo or code snippets (nodes, edges state, and the component where I set
:connectable="true"
).Thank you!
Beta Was this translation helpful? Give feedback.
All reactions