rendering for edgeCurve true or false is working with click and hover