add hover and click event in Relation.