Sergey Guzenkov
Sergey Guzenkov

Reputation: 19

graphviz dot: use the same angle for the text (label) as what is used for the arrow (edge), rather than default horizontal

Edge labels always seem to be horizontal. Is it possible to allign them to the arrow? In other words to use the same angle for the text as what is used for the arrow.

 digraph A {
    splines=false;
    A->B [label="allign me with the angle of the arrow"];                                                   
    A->C;
 }

example dot

Upvotes: 0

Views: 151

Answers (1)

sroush
sroush

Reputation: 6801

Unfortunately, no. There is a request on the books (https://gitlab.com/graphviz/graphviz/-/issues/2007), but seemingly no active work on this.

Upvotes: 2

Related Questions