added edges in transissions through double mouse click