Closed el-sambal closed 5 months ago
I noticed that changing
\draw[->] (a.-120) edge (b.120);
to
\draw (a.-120) edge[->] (b.120);
fixes the issue.
But I don't think this is how TikZ should behave; please correct me if I'm wrong.
edge is a special path with its own settings. If you don't need it just use the regular path command which is --
.
You need to use \path[->] (a.-120) edge (b.120);
. Otherwise you are drawing a path with no segments. To see what I mean, try \draw[->] (a.-120) edge[red] (b.120);
and observe that the “wrong” arrow tip remains black.
Ah I see, thanks a lot for your help!
Brief outline of the bug
I tried drawing a -> arrow between two specified points (at angles w.r.t. a node), but a <-> arrow was created instead. The MWE produces this:
An arrowhead appears both in the top and the bottom of the arrow, but my intended result was that it would only appear in the bottom.
(The use case is to produce two parallel edges, in a way similar to the first solution contained in user121799's answer to this question.)
Thank you!
Minimal working example (MWE)