[Feature Request] Implement `onPortLink`
See original GitHub issueMy case is very simple - I need to link two ports between two nodes. How one should do it? This is what I tried to do:
<rf.Canvas
nodes={nodes}
edges={edges}
onNodeLink={(event, from, to) => {
// no `fromPort` and `toPort` here; does not run on port links
console.log({ from, to })
}}
node={nodeProps => (
<rf.Node
dragType="port"
port={
<Port
onEnter={(event, port) =>
setTargetPortId(port.id)
}}
onLeave={(event, port) => {
setTargetPortId(null)
}}
onDragStart={(event, pos, port) => {
setSrcPortId(port.id)
}}
onDragEnd={(event, pos, port) => {
setSrcPortId(null)
setTargetPortId(null)
}}
/>
}
/>
First I thought I can do it with onDragEnd
but there is no node
there
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (6 by maintainers)
Top Results From Across the Web
Feature Request Template: How to Manage Suggestions at ...
Streamline and organize user feedback with this free feature request template. Available in Google Docs and Sheets (no email required).
Read more >Issues · reaviz/reaflow · GitHub
[Feature Request] Implement onPortLink documentation Improvements or additions to documentation. #114 opened on Oct 25, 2021 by emil14.
Read more >Feature Requests: What are they and how to manage them
Feature requests are a form of product feedback you may frequently encounter as a SaaS product manager. They typically come in the form...
Read more >How to Make a Feature Request | Short.Io Help Center
You can add a request, track its implementation, vote for the request that other customers have left, receive notification when your request is...
Read more >Feature Request Management Software | Hellonext
Feature request software to make data-informed decisions. Make data informed product decisions to ship features that your users need.
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
@rishab-sharma here’s a piece from my project