Proposal: Allowing to flip the side of source/target arrowhead labels
Author: 0hDEADBEAFCreated Jul 29, 2026Updated Jul 29, 2026
Consider the following diagram:
a -> b {
source-arrowhead: yes
}
a -> c: {
source-arrowhead: no
}Resulting in the following SVG:
Both arrowhead labels yes and no are displayed to the right of their connection arrow. In this case, it is inconvenient because the label yes gets hidden by the node above it. It would be much better if I could configure it to be displayed to the left of it.
I have read the documentation and it didn't seem like I can configure that. Maybe I've missed something? Otherwise, I think it would be nice to have such feature.
Source: terrastruct/d2