I would like to draw the following diagram using tikzcd.

enter image description here

I have asked a question before to draw arrows inside a square and a triangle. It is at Arrows inside a commutative diagram using tikzcd

I have tried to “imitate” the idea there but it is not working.

Any help is appreciated.

The working example is as follows:

x \arrow[rr, "f", swap, bend left=49] \arrow[Rightarrow, shorten >=10pt, shorten <=10pt, to=M]
\arrow[rr, "h"', bend right=49] \arrow[rr, "g"{name=M}] &  & y

  • I have also tried to do this for two arrows $f,g$ instead of $3$ arrows $f,g,h$. That is also not working.. Jun 18, 2020 at 9:49

1 Answer 1


Here is one. Next time, please make sure your example is minimal, most of those packages are irrelevant. For this I've just adapted the example in the tikz-cd manual. Note that you of course cannot refer to the name of a node before it has been defined.

  \arrow[rr, "f"{name=F}, bend left=60]
  \arrow[rr, "\mathclap{h}"{name=H,pos=0.52}, bend right=60]
  &  & y
  \arrow[Rightarrow, from=F, to=G]
  \arrow[Rightarrow, from=G, to=H,yshift=-1pt]


enter image description here

  • Thank you. :) :) I will be careful next time Jun 18, 2020 at 10:23
  • Can you suggest some place where I can find hints of how to draw these? I am trying a slight variation and itis not working... I am trying to take $x,y,z$ and 4 arrows; 2 from x to y and 2 from y to z... I am trying to imitate this idea... Jun 18, 2020 at 10:44
  • Since I don't know what they should look like, no.
    – daleif
    Jun 18, 2020 at 10:53
  • I did not mean the example I asked in the comment.. In general, Is there a guide to draw these kind of diagrams? Jun 18, 2020 at 10:57
  • 1
    You draw them on paper first, then start at one end. That is what I normally do. Then I ask for help if I get stuck
    – daleif
    Jun 18, 2020 at 11:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.