question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Feature: possibility to define custom edge updater shape

See original GitHub issue

It will be helpful to have a possibility to define custom edge updater instead of default circle

(for ex. not circle but fat ring with own radius or square with different dimensions)

{handleEdgeUpdate && (
          <g
            onMouseDown={onEdgeUpdaterSourceMouseDown}
            onMouseEnter={onEdgeUpdaterMouseEnter}
            onMouseOut={onEdgeUpdaterMouseOut}
          >
            <circle
              className="react-flow__edgeupdater"
              cx={sourceX}
              cy={sourceY}
              r={10}
              stroke="transparent"
              fill="transparent"
            />
          </g>
        )}
 {handleEdgeUpdate && (<EdgeUpdaterShape 
    onMouseDown={onEdgeUpdaterSourceMouseDown}
    onMouseEnter={onEdgeUpdaterMouseEnter}
    onMouseOut={onEdgeUpdaterMouseOut}
    cx={sourceX}
    cy={sourceY}
 />)}

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
moklickcommented, Mar 2, 2021

Good idea! See you there 😉

1reaction
ambroseuscommented, Feb 24, 2021

@moklick I’ll prepare PR soon…

Read more comments on GitHub >

github_iconTop Results From Across the Web

What's new in DevTools (Microsoft Edge 89)
The What's New tool in the Microsoft Edge DevTools now has a new appearance and a new name: Welcome. The Welcome tool still...
Read more >
Custom Edges Example - React Flow
React Flow has four edge types- bezier, straight, step and smoothstep. It's also possible to create a custom edge, if you need a...
Read more >
Deploy Microsoft Edge and Manage Edge Updates using ...
This blog post will describe how to deploy SCCM Edge Deployment Update to your devices using both SCCM 1910+ and Intune/Endpoint Manager.
Read more >
How to Update Microsoft Edge on a PC or Mac Computer
To update Microsoft Edge on a PC, you'll have to head to either the "About Microsoft Edge" page, or Windows' Settings menu.
Read more >
Edit features (Map Viewer)—ArcGIS Online Help
As a new feature is drawn, vertices and edges snap to the vertices and edge ... To create the correct shape for the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found