Skip to content

Disable/hide handles on nodes #2698

Answered by bcakmakoglu
S0PEX asked this question in Q&A
Dec 19, 2022 · 5 comments · 7 replies
Discussion options

You must be logged in to vote

The handles are necessary for edges to find their targets, but you can just set the opacity to 0 and hide the circles themselves.
This can be seen in the Floating Edges example.

All you need to do is add this to your css

.react-flow__handle {
  opacity: 0;
}

Replies: 5 comments 7 replies

Comment options

You must be logged in to vote
3 replies
@S0PEX
Comment options

@Pankaj-birla
Comment options

@bcakmakoglu
Comment options

Answer selected by S0PEX
Comment options

You must be logged in to vote
4 replies
@moklick
Comment options

@bcakmakoglu
Comment options

@vivek-quest
Comment options

@wderocco8
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
10 participants