implement drag over graph edges

implement drag states to move a view over graph edges