edge labels are deleted if redrawn