couldn't create edge between custom nodes
See original GitHub issueDescribe the Bug
Hi Guys,
I’m starting working with react flow and going step by step on creating new features. I already read some documentation to understand how to customize nodes and on the process of doing this I’m getting this error: couldn't create edge for target handle id: l1; edge id: a1-a3
I read some of the issues on github including #1641 and other related in the same issue and had no success.
Your Example Website or App
https://codesandbox.io/s/exciting-shaw-tyfq4v?file=/src/styles.css
Steps to Reproduce the Bug or Issue
- Try to connect a custom node with a default node using mouse (it worked >
A1-B1
) - Try to connect a custom node with a custom node using mouse (not worked >
A1-A3
) - Create an edge(custom node to custom node id
a1-a3
) in theedges.js
to see if the edge will be drawn on the page but I get an error on the console
Expected behavior
Render the edge between custom nodes
Screenshots or Videos
No response
Platform
- OS: macOS
- Browser: Chrome
- Version: 99.0.4844.83
Additional context
No response
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:6 (1 by maintainers)
Top Results From Across the Web
Troubleshooting Guide - React Flow
This usually happens when you are specifying a custom node type for one of your nodes but not passing the correct nodeTypes property...
Read more >edges to the node steps are not rendering in react-flow-renderer
Iam trying to display steps in the data.js file as nodes and tried to connect those edges. But the edges are only visible....
Read more >How to get the source and target handles in React Flow 10
If you want to add an edge in React Flow, it looks similar to this: Let me explain the content: source = id...
Read more >Troubleshoot EKS managed node group failures - Amazon AWS
My Amazon Elastic Kubernetes Service (Amazon EKS) managed node group failed to create. Nodes can't join the cluster and I received an error ......
Read more >Gatsby Node APIs
Documentation on Node APIs used in Gatsby build process for common uses like ... You can also fetch data from remote or local...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I saw that the doc is already update here
Thanks all!!!
Hi everyone,
Adding the type
target
to the handle it works fine.@terceser I will test the ConnectionMode and if need a new issue will be open.
@moklick Do you want me to open a new issue to update the documentation? Or this stay open?