added modifier as an edge label to the dot