fixed it to use the Edge's class as label if defined