Have is a synonym of Suffer. Pain can cause/lead to Suffer. Pain is related to Response. Response is related to Smell. 
Edge is a synonym of Border. Border is a synonym of Rim. 
Have <--Synonym--> Suffer <--Causes-- Pain <--RelatedTo--> Response <--RelatedTo--> Smell 
Edge <--Synonym--> Border <--Synonym--> Rim 