The meaning of the idiom take the edge off is to mitigate or make less severe anything that is not pleasant.
1. The bars of chocolate that I had helped me take the edge off my ravenous hunger.
2. When the students responsible for the riot in college came and apologized to the principal, the act took the edge off his anger.