add horizontal line above diagram