Edith Thompson: The wife who was executed for her lover's crime

Edith Thompson's lover killed her husband in an attack she didn't want to happen. Why was she hanged?