Add hover effect for vertices.