Improve the getSmoothStepPath for the markers orient
See original GitHub issueI have custom markers with orient=“auto” but the the getSmoothStepPath don’t give the best path for the markers.
Issue Analytics
- State:
- Created 2 years ago
- Comments:12 (5 by maintainers)
Top Results From Across the Web
orient - SVG: Scalable Vector Graphics - MDN Web Docs
The orient attribute indicates how a marker is rotated when it is placed at its position on the shape.
Read more >wbkd - Bountysource
Is there a way to increase select-ability size of edges? ... I have custom markers with orient="auto" but the the getSmoothStepPath don't give...
Read more >Using genetic markers to orient the edges in quantitative trait ...
We develop and implement Network Edge Orienting (NEO) methods and software that address the challenges of inferring unconfounded and directed ...
Read more >How to fix SVG marker orientation in MS Edge? - Stack Overflow
Apparently orient="auto-start-reverse" doesn't work in edge so you will need to use orient="auto" . For this instead of a polyline I'm using ...
Read more >Edge Markers Example - React Flow
React Flow has built-in support for different marker types for your edges. It's possible to add your own SVG markers, too.
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 Free
Top 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

+1
Hello everyone i start learning react-flow and how to create a custom nodes, a custom floating edges, and i found 2 problems : case one: When we have a custom node circle with a floating edge and has a marker end (arrow) , we notice that we have spacing on the corners of the circle node not floating in the edges of the node?
2nd - with a custom edge we want resistance or a button in the center to follow rotation line depending to the direction of the line?
you can see the problems in the photo or in the send box, please help me !
https://codesandbox.io/s/sandpack-project-forked-ocw82p?file=/customNode.js