Node Editor Select Handles.Bezier( )?

Im creating a Node Editor and I Draw the transitions with Handles.DrawBezier( ). I want to be able to select these lines. How would I go about doing this? It looks like this:

I want to be able to select one of those lines
Thank you for any help

Figured it out!

For any one who can’t figure it out I add this:

if  (Handles.Button((start + end) * 0.5f, Quaternion.identity, 4, 8, Handles.RectangleHandleCap))
{
     
}

this will put a button in the middle of the line and when its clicked the stuff in the if statement will execute