How to draw an diagram with arrows?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
2
down vote

favorite












I want to draw the diagram attached file in latex?



enter image description here










share|improve this question





















  • You could youre the TikZ package, you will find a short tutorial at the begin of the documentation.
    – omisson
    1 hour ago














up vote
2
down vote

favorite












I want to draw the diagram attached file in latex?



enter image description here










share|improve this question





















  • You could youre the TikZ package, you will find a short tutorial at the begin of the documentation.
    – omisson
    1 hour ago












up vote
2
down vote

favorite









up vote
2
down vote

favorite











I want to draw the diagram attached file in latex?



enter image description here










share|improve this question













I want to draw the diagram attached file in latex?



enter image description here







arrows






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked 1 hour ago









Fatma Erol Kaynarca

312




312











  • You could youre the TikZ package, you will find a short tutorial at the begin of the documentation.
    – omisson
    1 hour ago
















  • You could youre the TikZ package, you will find a short tutorial at the begin of the documentation.
    – omisson
    1 hour ago















You could youre the TikZ package, you will find a short tutorial at the begin of the documentation.
– omisson
1 hour ago




You could youre the TikZ package, you will find a short tutorial at the begin of the documentation.
– omisson
1 hour ago










3 Answers
3






active

oldest

votes

















up vote
3
down vote













It's quite easy with tikz-cd:




enter image description here




documentclassarticle
usepackagetikz-cd
begindocument
begintikzcd
1 ar[r,"a"] ar[rr,bend right,"c"'] & 2 ar[r,"b"] & 3
endtikzcd
enddocument


But, in my humble opinion, I'd vote for picture-mode, for its far more user-friendly syntax:




enter image description here




documentclassarticle
usepackagepict2e
begindocument
setlengthunitlength1cm
beginpicture(2.1,0.75)(0,-0.45)
put(0,0)1
put(0.2,0.1)vector(1,0)0.75
put(0.5,0.15)footnotesize$a$
put(1,0)2
put(1.2,0.1)vector(1,0)0.75
put(1.5,0.15)footnotesize$b$
put(2,0)3
qbezier(0.2,-0.05)(1.05,-0.7)(1.9,-0.05)
put(1.9,-0.05)vector(4,3)0.0001
put(1.0,-0.55)footnotesize$c$
endpicture
enddocument





share|improve this answer
















  • 1




    Actually, it's also very easy with plain TikZ (without tikz-cd), but +1 for picture mode ;)
    – TeXnician
    40 mins ago










  • @TeXnician The tikz-cd answer is so that people can't say I posted a picture mode answer just to gain more rep. I honestly don't know why people think that ;P
    – Phelype Oleinik
    26 mins ago

















up vote
2
down vote













For the sake of completeness, here it is a plain TikZ approach



documentclassarticle
usepackagetikz
usetikzlibrarypositioning
begindocument
begintikzpicture[node distance = 2cm, thick]%
node (1) 1;
node (2) [right=of 1] 2;
node (3) [right=of 2] 3;
draw[->] (1) -- node [midway,above] a (2);
draw[->] (1) to [bend right] node [midway,below]c (3);
draw[->] (2) -- node [midway,above] b (3);
endtikzpicture%
enddocument


enter image description here






share|improve this answer



























    up vote
    0
    down vote













    A pstrickssolution`: the three numbers are defined as nodes, and we link them by node connections.



    documentclass[12pt]article
    usepackagepst-node, auto-pst-pdf

    begindocument

    [
    Rnode11 hspace3em Rnode22 hspace3em Rnode33
    pssetlinewidth=0.6pt, arrows=->, arrowinset=0.12, nodesep=0.6ex, labelsep=2pt, shortput=nab
    everypsboxscriptstyle
    ncline12^ancline23^b
    ncarc[arcangle=-30]13_c
    ]

    enddocument


    enter image description here





    share




















      Your Answer







      StackExchange.ready(function()
      var channelOptions =
      tags: "".split(" "),
      id: "85"
      ;
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function()
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled)
      StackExchange.using("snippets", function()
      createEditor();
      );

      else
      createEditor();

      );

      function createEditor()
      StackExchange.prepareEditor(
      heartbeatType: 'answer',
      convertImagesToLinks: false,
      noModals: false,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: null,
      bindNavPrevention: true,
      postfix: "",
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      );



      );













       

      draft saved


      draft discarded


















      StackExchange.ready(
      function ()
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f452415%2fhow-to-draw-an-diagram-with-arrows%23new-answer', 'question_page');

      );

      Post as a guest






























      3 Answers
      3






      active

      oldest

      votes








      3 Answers
      3






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes








      up vote
      3
      down vote













      It's quite easy with tikz-cd:




      enter image description here




      documentclassarticle
      usepackagetikz-cd
      begindocument
      begintikzcd
      1 ar[r,"a"] ar[rr,bend right,"c"'] & 2 ar[r,"b"] & 3
      endtikzcd
      enddocument


      But, in my humble opinion, I'd vote for picture-mode, for its far more user-friendly syntax:




      enter image description here




      documentclassarticle
      usepackagepict2e
      begindocument
      setlengthunitlength1cm
      beginpicture(2.1,0.75)(0,-0.45)
      put(0,0)1
      put(0.2,0.1)vector(1,0)0.75
      put(0.5,0.15)footnotesize$a$
      put(1,0)2
      put(1.2,0.1)vector(1,0)0.75
      put(1.5,0.15)footnotesize$b$
      put(2,0)3
      qbezier(0.2,-0.05)(1.05,-0.7)(1.9,-0.05)
      put(1.9,-0.05)vector(4,3)0.0001
      put(1.0,-0.55)footnotesize$c$
      endpicture
      enddocument





      share|improve this answer
















      • 1




        Actually, it's also very easy with plain TikZ (without tikz-cd), but +1 for picture mode ;)
        – TeXnician
        40 mins ago










      • @TeXnician The tikz-cd answer is so that people can't say I posted a picture mode answer just to gain more rep. I honestly don't know why people think that ;P
        – Phelype Oleinik
        26 mins ago














      up vote
      3
      down vote













      It's quite easy with tikz-cd:




      enter image description here




      documentclassarticle
      usepackagetikz-cd
      begindocument
      begintikzcd
      1 ar[r,"a"] ar[rr,bend right,"c"'] & 2 ar[r,"b"] & 3
      endtikzcd
      enddocument


      But, in my humble opinion, I'd vote for picture-mode, for its far more user-friendly syntax:




      enter image description here




      documentclassarticle
      usepackagepict2e
      begindocument
      setlengthunitlength1cm
      beginpicture(2.1,0.75)(0,-0.45)
      put(0,0)1
      put(0.2,0.1)vector(1,0)0.75
      put(0.5,0.15)footnotesize$a$
      put(1,0)2
      put(1.2,0.1)vector(1,0)0.75
      put(1.5,0.15)footnotesize$b$
      put(2,0)3
      qbezier(0.2,-0.05)(1.05,-0.7)(1.9,-0.05)
      put(1.9,-0.05)vector(4,3)0.0001
      put(1.0,-0.55)footnotesize$c$
      endpicture
      enddocument





      share|improve this answer
















      • 1




        Actually, it's also very easy with plain TikZ (without tikz-cd), but +1 for picture mode ;)
        – TeXnician
        40 mins ago










      • @TeXnician The tikz-cd answer is so that people can't say I posted a picture mode answer just to gain more rep. I honestly don't know why people think that ;P
        – Phelype Oleinik
        26 mins ago












      up vote
      3
      down vote










      up vote
      3
      down vote









      It's quite easy with tikz-cd:




      enter image description here




      documentclassarticle
      usepackagetikz-cd
      begindocument
      begintikzcd
      1 ar[r,"a"] ar[rr,bend right,"c"'] & 2 ar[r,"b"] & 3
      endtikzcd
      enddocument


      But, in my humble opinion, I'd vote for picture-mode, for its far more user-friendly syntax:




      enter image description here




      documentclassarticle
      usepackagepict2e
      begindocument
      setlengthunitlength1cm
      beginpicture(2.1,0.75)(0,-0.45)
      put(0,0)1
      put(0.2,0.1)vector(1,0)0.75
      put(0.5,0.15)footnotesize$a$
      put(1,0)2
      put(1.2,0.1)vector(1,0)0.75
      put(1.5,0.15)footnotesize$b$
      put(2,0)3
      qbezier(0.2,-0.05)(1.05,-0.7)(1.9,-0.05)
      put(1.9,-0.05)vector(4,3)0.0001
      put(1.0,-0.55)footnotesize$c$
      endpicture
      enddocument





      share|improve this answer












      It's quite easy with tikz-cd:




      enter image description here




      documentclassarticle
      usepackagetikz-cd
      begindocument
      begintikzcd
      1 ar[r,"a"] ar[rr,bend right,"c"'] & 2 ar[r,"b"] & 3
      endtikzcd
      enddocument


      But, in my humble opinion, I'd vote for picture-mode, for its far more user-friendly syntax:




      enter image description here




      documentclassarticle
      usepackagepict2e
      begindocument
      setlengthunitlength1cm
      beginpicture(2.1,0.75)(0,-0.45)
      put(0,0)1
      put(0.2,0.1)vector(1,0)0.75
      put(0.5,0.15)footnotesize$a$
      put(1,0)2
      put(1.2,0.1)vector(1,0)0.75
      put(1.5,0.15)footnotesize$b$
      put(2,0)3
      qbezier(0.2,-0.05)(1.05,-0.7)(1.9,-0.05)
      put(1.9,-0.05)vector(4,3)0.0001
      put(1.0,-0.55)footnotesize$c$
      endpicture
      enddocument






      share|improve this answer












      share|improve this answer



      share|improve this answer










      answered 45 mins ago









      Phelype Oleinik

      16.9k33769




      16.9k33769







      • 1




        Actually, it's also very easy with plain TikZ (without tikz-cd), but +1 for picture mode ;)
        – TeXnician
        40 mins ago










      • @TeXnician The tikz-cd answer is so that people can't say I posted a picture mode answer just to gain more rep. I honestly don't know why people think that ;P
        – Phelype Oleinik
        26 mins ago












      • 1




        Actually, it's also very easy with plain TikZ (without tikz-cd), but +1 for picture mode ;)
        – TeXnician
        40 mins ago










      • @TeXnician The tikz-cd answer is so that people can't say I posted a picture mode answer just to gain more rep. I honestly don't know why people think that ;P
        – Phelype Oleinik
        26 mins ago







      1




      1




      Actually, it's also very easy with plain TikZ (without tikz-cd), but +1 for picture mode ;)
      – TeXnician
      40 mins ago




      Actually, it's also very easy with plain TikZ (without tikz-cd), but +1 for picture mode ;)
      – TeXnician
      40 mins ago












      @TeXnician The tikz-cd answer is so that people can't say I posted a picture mode answer just to gain more rep. I honestly don't know why people think that ;P
      – Phelype Oleinik
      26 mins ago




      @TeXnician The tikz-cd answer is so that people can't say I posted a picture mode answer just to gain more rep. I honestly don't know why people think that ;P
      – Phelype Oleinik
      26 mins ago










      up vote
      2
      down vote













      For the sake of completeness, here it is a plain TikZ approach



      documentclassarticle
      usepackagetikz
      usetikzlibrarypositioning
      begindocument
      begintikzpicture[node distance = 2cm, thick]%
      node (1) 1;
      node (2) [right=of 1] 2;
      node (3) [right=of 2] 3;
      draw[->] (1) -- node [midway,above] a (2);
      draw[->] (1) to [bend right] node [midway,below]c (3);
      draw[->] (2) -- node [midway,above] b (3);
      endtikzpicture%
      enddocument


      enter image description here






      share|improve this answer
























        up vote
        2
        down vote













        For the sake of completeness, here it is a plain TikZ approach



        documentclassarticle
        usepackagetikz
        usetikzlibrarypositioning
        begindocument
        begintikzpicture[node distance = 2cm, thick]%
        node (1) 1;
        node (2) [right=of 1] 2;
        node (3) [right=of 2] 3;
        draw[->] (1) -- node [midway,above] a (2);
        draw[->] (1) to [bend right] node [midway,below]c (3);
        draw[->] (2) -- node [midway,above] b (3);
        endtikzpicture%
        enddocument


        enter image description here






        share|improve this answer






















          up vote
          2
          down vote










          up vote
          2
          down vote









          For the sake of completeness, here it is a plain TikZ approach



          documentclassarticle
          usepackagetikz
          usetikzlibrarypositioning
          begindocument
          begintikzpicture[node distance = 2cm, thick]%
          node (1) 1;
          node (2) [right=of 1] 2;
          node (3) [right=of 2] 3;
          draw[->] (1) -- node [midway,above] a (2);
          draw[->] (1) to [bend right] node [midway,below]c (3);
          draw[->] (2) -- node [midway,above] b (3);
          endtikzpicture%
          enddocument


          enter image description here






          share|improve this answer












          For the sake of completeness, here it is a plain TikZ approach



          documentclassarticle
          usepackagetikz
          usetikzlibrarypositioning
          begindocument
          begintikzpicture[node distance = 2cm, thick]%
          node (1) 1;
          node (2) [right=of 1] 2;
          node (3) [right=of 2] 3;
          draw[->] (1) -- node [midway,above] a (2);
          draw[->] (1) to [bend right] node [midway,below]c (3);
          draw[->] (2) -- node [midway,above] b (3);
          endtikzpicture%
          enddocument


          enter image description here







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered 22 mins ago









          Diaa

          2,2781642




          2,2781642




















              up vote
              0
              down vote













              A pstrickssolution`: the three numbers are defined as nodes, and we link them by node connections.



              documentclass[12pt]article
              usepackagepst-node, auto-pst-pdf

              begindocument

              [
              Rnode11 hspace3em Rnode22 hspace3em Rnode33
              pssetlinewidth=0.6pt, arrows=->, arrowinset=0.12, nodesep=0.6ex, labelsep=2pt, shortput=nab
              everypsboxscriptstyle
              ncline12^ancline23^b
              ncarc[arcangle=-30]13_c
              ]

              enddocument


              enter image description here





              share
























                up vote
                0
                down vote













                A pstrickssolution`: the three numbers are defined as nodes, and we link them by node connections.



                documentclass[12pt]article
                usepackagepst-node, auto-pst-pdf

                begindocument

                [
                Rnode11 hspace3em Rnode22 hspace3em Rnode33
                pssetlinewidth=0.6pt, arrows=->, arrowinset=0.12, nodesep=0.6ex, labelsep=2pt, shortput=nab
                everypsboxscriptstyle
                ncline12^ancline23^b
                ncarc[arcangle=-30]13_c
                ]

                enddocument


                enter image description here





                share






















                  up vote
                  0
                  down vote










                  up vote
                  0
                  down vote









                  A pstrickssolution`: the three numbers are defined as nodes, and we link them by node connections.



                  documentclass[12pt]article
                  usepackagepst-node, auto-pst-pdf

                  begindocument

                  [
                  Rnode11 hspace3em Rnode22 hspace3em Rnode33
                  pssetlinewidth=0.6pt, arrows=->, arrowinset=0.12, nodesep=0.6ex, labelsep=2pt, shortput=nab
                  everypsboxscriptstyle
                  ncline12^ancline23^b
                  ncarc[arcangle=-30]13_c
                  ]

                  enddocument


                  enter image description here





                  share












                  A pstrickssolution`: the three numbers are defined as nodes, and we link them by node connections.



                  documentclass[12pt]article
                  usepackagepst-node, auto-pst-pdf

                  begindocument

                  [
                  Rnode11 hspace3em Rnode22 hspace3em Rnode33
                  pssetlinewidth=0.6pt, arrows=->, arrowinset=0.12, nodesep=0.6ex, labelsep=2pt, shortput=nab
                  everypsboxscriptstyle
                  ncline12^ancline23^b
                  ncarc[arcangle=-30]13_c
                  ]

                  enddocument


                  enter image description here






                  share











                  share


                  share










                  answered 1 min ago









                  Bernard

                  156k764190




                  156k764190



























                       

                      draft saved


                      draft discarded















































                       


                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function ()
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f452415%2fhow-to-draw-an-diagram-with-arrows%23new-answer', 'question_page');

                      );

                      Post as a guest













































































                      Comments

                      Popular posts from this blog

                      What does second last employer means? [closed]

                      List of Gilmore Girls characters

                      One-line joke