make edges clickable