#How do I make sure that only the connection that is selected is animated?

1 messages · Page 1 of 1 (latest)

cinder hamlet
#

How do I make sure that only the connection that is selected is animated?

honest pawn
#

Tbh easiest way would be to copy paste a little bit of the library css and do this

.react-flow__edge.selected path {
  stroke-dasharray: 5;
  animation: dashdraw 0.5s linear infinite;
}