dot-str: edge label, when available, takes precedence over weight.