Arrows in tikz Markov chain diagram overlap The Next CEO of Stack OverflowRotate a node but not its content: the case of the ellipse decorationHow to define the default vertical distance between nodes?To wrap the external lines so that it can touch the perimeterChanging Size of Arrows, Labels, Loops in Diagrams and Directed GraphsDraw edge on arcNumerical conditional within tikz keys?Drawing a bent path as a loop in tikzDrawing rectilinear curves in Tikz, aka an Etch-a-Sketch drawingLine up nested tikz enviroments or how to get rid of themCommutative diagram with curve connecting between nodes

A hang glider, sudden unexpected lift to 25,000 feet altitude, what could do this?

Find the majority element, which appears more than half the time

How to unfasten electrical subpanel attached with ramset

Does int main() need a declaration on C++?

Can Sri Krishna be called 'a person'?

Is it reasonable to ask other researchers to send me their previous grant applications?

Are British MPs missing the point, with these 'Indicative Votes'?

Traveling with my 5 year old daughter (as the father) without the mother from Germany to Mexico

How can the PCs determine if an item is a phylactery?

How to show a landlord what we have in savings?

pgfplots: How to draw a tangent graph below two others?

Can I cast Thunderwave and be at the center of its bottom face, but not be affected by it?

Physiological effects of huge anime eyes

Simplify trigonometric expression using trigonometric identities

Prodigo = pro + ago?

Gauss' Posthumous Publications?

Why can't we say "I have been having a dog"?

Calculate the Mean mean of two numbers

Man transported from Alternate World into ours by a Neutrino Detector

What difference does it make matching a word with/without a trailing whitespace?

Raspberry pi 3 B with Ubuntu 18.04 server arm64: what pi version

Avoiding the "not like other girls" trope?

Free fall ellipse or parabola?

Do I need to write [sic] when including a quotation with a number less than 10 that isn't written out?



Arrows in tikz Markov chain diagram overlap



The Next CEO of Stack OverflowRotate a node but not its content: the case of the ellipse decorationHow to define the default vertical distance between nodes?To wrap the external lines so that it can touch the perimeterChanging Size of Arrows, Labels, Loops in Diagrams and Directed GraphsDraw edge on arcNumerical conditional within tikz keys?Drawing a bent path as a loop in tikzDrawing rectilinear curves in Tikz, aka an Etch-a-Sketch drawingLine up nested tikz enviroments or how to get rid of themCommutative diagram with curve connecting between nodes










2















I am trying to draw a Markov chain using tikz. The diagram is in the correct setup except the arrow going from State 2 and 3 overlaps two other arrows. I tried repositioning the states using node distance but that did not seem to work. How can I force the arrows not to overlap?
Markov Chain



%latex
documentclass[reqno]amsart
usepackageamsmath
usepackageamssymb
usepackagehyperref
usepackagepgfplots

usepgfplotslibraryfillbetween

usepackagetikz
usetikzlibraryautomata
usetikzlibrarypositioning % ...positioning nodes
usetikzlibraryarrows % ...customizing arrows
tikzsetnode distance=4.5cm, % Minimum distance between two nodes. Change if necessary.
every state/.style= % Sets the properties for each state
semithick,
fill=gray!10,
initial text=, % No label on start arrow
double distance=4pt, % Adjust appearance of accept states
every edge/.style= % Sets the properties for each transition
draw,
->,>=stealth', % Makes edges directed with bold arrowheads
auto,
semithick

begindocument

beginfigure[htb]
centering
begintikzpicture
node[state] (s1) State 1;
node[state, below right of=s1] (s2) State 2;
node[state, below left of=s1] (s3) State 3;

draw (s1) edge[loop above] node (s1);
draw (s1) edge[bend left] node (s2);
draw (s1) edge[bend right] node (s3);

draw (s2) edge[bend left] node (s1);
draw (s2) edge[loop right] node (s2);
draw (s2) edge[bend right] node (s3);

draw (s3) edge[bend right] node (s1);
draw (s3) edge[bend right] node (s2);
draw (s3) edge[loop left] node (s3);

endtikzpicture
endfigure

enddocument









share|improve this question


























    2















    I am trying to draw a Markov chain using tikz. The diagram is in the correct setup except the arrow going from State 2 and 3 overlaps two other arrows. I tried repositioning the states using node distance but that did not seem to work. How can I force the arrows not to overlap?
    Markov Chain



    %latex
    documentclass[reqno]amsart
    usepackageamsmath
    usepackageamssymb
    usepackagehyperref
    usepackagepgfplots

    usepgfplotslibraryfillbetween

    usepackagetikz
    usetikzlibraryautomata
    usetikzlibrarypositioning % ...positioning nodes
    usetikzlibraryarrows % ...customizing arrows
    tikzsetnode distance=4.5cm, % Minimum distance between two nodes. Change if necessary.
    every state/.style= % Sets the properties for each state
    semithick,
    fill=gray!10,
    initial text=, % No label on start arrow
    double distance=4pt, % Adjust appearance of accept states
    every edge/.style= % Sets the properties for each transition
    draw,
    ->,>=stealth', % Makes edges directed with bold arrowheads
    auto,
    semithick

    begindocument

    beginfigure[htb]
    centering
    begintikzpicture
    node[state] (s1) State 1;
    node[state, below right of=s1] (s2) State 2;
    node[state, below left of=s1] (s3) State 3;

    draw (s1) edge[loop above] node (s1);
    draw (s1) edge[bend left] node (s2);
    draw (s1) edge[bend right] node (s3);

    draw (s2) edge[bend left] node (s1);
    draw (s2) edge[loop right] node (s2);
    draw (s2) edge[bend right] node (s3);

    draw (s3) edge[bend right] node (s1);
    draw (s3) edge[bend right] node (s2);
    draw (s3) edge[loop left] node (s3);

    endtikzpicture
    endfigure

    enddocument









    share|improve this question
























      2












      2








      2








      I am trying to draw a Markov chain using tikz. The diagram is in the correct setup except the arrow going from State 2 and 3 overlaps two other arrows. I tried repositioning the states using node distance but that did not seem to work. How can I force the arrows not to overlap?
      Markov Chain



      %latex
      documentclass[reqno]amsart
      usepackageamsmath
      usepackageamssymb
      usepackagehyperref
      usepackagepgfplots

      usepgfplotslibraryfillbetween

      usepackagetikz
      usetikzlibraryautomata
      usetikzlibrarypositioning % ...positioning nodes
      usetikzlibraryarrows % ...customizing arrows
      tikzsetnode distance=4.5cm, % Minimum distance between two nodes. Change if necessary.
      every state/.style= % Sets the properties for each state
      semithick,
      fill=gray!10,
      initial text=, % No label on start arrow
      double distance=4pt, % Adjust appearance of accept states
      every edge/.style= % Sets the properties for each transition
      draw,
      ->,>=stealth', % Makes edges directed with bold arrowheads
      auto,
      semithick

      begindocument

      beginfigure[htb]
      centering
      begintikzpicture
      node[state] (s1) State 1;
      node[state, below right of=s1] (s2) State 2;
      node[state, below left of=s1] (s3) State 3;

      draw (s1) edge[loop above] node (s1);
      draw (s1) edge[bend left] node (s2);
      draw (s1) edge[bend right] node (s3);

      draw (s2) edge[bend left] node (s1);
      draw (s2) edge[loop right] node (s2);
      draw (s2) edge[bend right] node (s3);

      draw (s3) edge[bend right] node (s1);
      draw (s3) edge[bend right] node (s2);
      draw (s3) edge[loop left] node (s3);

      endtikzpicture
      endfigure

      enddocument









      share|improve this question














      I am trying to draw a Markov chain using tikz. The diagram is in the correct setup except the arrow going from State 2 and 3 overlaps two other arrows. I tried repositioning the states using node distance but that did not seem to work. How can I force the arrows not to overlap?
      Markov Chain



      %latex
      documentclass[reqno]amsart
      usepackageamsmath
      usepackageamssymb
      usepackagehyperref
      usepackagepgfplots

      usepgfplotslibraryfillbetween

      usepackagetikz
      usetikzlibraryautomata
      usetikzlibrarypositioning % ...positioning nodes
      usetikzlibraryarrows % ...customizing arrows
      tikzsetnode distance=4.5cm, % Minimum distance between two nodes. Change if necessary.
      every state/.style= % Sets the properties for each state
      semithick,
      fill=gray!10,
      initial text=, % No label on start arrow
      double distance=4pt, % Adjust appearance of accept states
      every edge/.style= % Sets the properties for each transition
      draw,
      ->,>=stealth', % Makes edges directed with bold arrowheads
      auto,
      semithick

      begindocument

      beginfigure[htb]
      centering
      begintikzpicture
      node[state] (s1) State 1;
      node[state, below right of=s1] (s2) State 2;
      node[state, below left of=s1] (s3) State 3;

      draw (s1) edge[loop above] node (s1);
      draw (s1) edge[bend left] node (s2);
      draw (s1) edge[bend right] node (s3);

      draw (s2) edge[bend left] node (s1);
      draw (s2) edge[loop right] node (s2);
      draw (s2) edge[bend right] node (s3);

      draw (s3) edge[bend right] node (s1);
      draw (s3) edge[bend right] node (s2);
      draw (s3) edge[loop left] node (s3);

      endtikzpicture
      endfigure

      enddocument






      tikz-pgf diagrams






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 2 hours ago









      cpagecpage

      15515




      15515




















          2 Answers
          2






          active

          oldest

          votes


















          3














          bend left and bend right come with parameters, the bending angles. Adjusting them allows you to avoid the intersections. (BTW, I also removed packages that were not used. Note also that the arrows library got superseded by arrows.meta but I kept arrows for now.)



          documentclass[reqno]amsart
          usepackagetikz
          usetikzlibraryautomata
          usetikzlibrarypositioning % ...positioning nodes
          usetikzlibraryarrows % ...customizing arrows
          tikzsetnode distance=4.5cm, % Minimum distance between two nodes. Change if necessary.
          every state/.style= % Sets the properties for each state
          semithick,
          fill=gray!10,
          initial text=, % No label on start arrow
          double distance=4pt, % Adjust appearance of accept states
          every edge/.style= % Sets the properties for each transition
          draw,
          ->,>=stealth', % Makes edges directed with bold arrowheads
          auto,
          semithick

          begindocument

          beginfigure[htb]
          centering
          begintikzpicture
          node[state] (s1) State 1;
          node[state, below right of=s1] (s2) State 2;
          node[state, below left of=s1] (s3) State 3;

          draw (s1) edge[loop above] (s1);
          draw (s1) edge[bend left] (s2);
          draw (s1) edge[bend right] (s3);

          draw (s2) edge[bend left=12] (s1);
          draw (s2) edge[loop right] (s2);
          draw (s2) edge[bend right=12] (s3);

          draw (s3) edge[bend right=12] (s1);
          draw (s3) edge[bend right] (s2);
          draw (s3) edge[loop left] (s3);

          endtikzpicture
          endfigure
          enddocument


          enter image description here






          share|improve this answer






























            0














            you can reduce default value of bend angle. just add bend angle=15 to your tikzset (similarly @marmoth change it locally for two arrows bend).



            off topic:



            • for labeling of arrows is handy to use quotes library and than wrote it as for example ... (s1) edge["label",bend left] (s2).


            • package hyperref had to be load last in preamble (except in rare exception)



              documentclass[reqno]amsart
              usepackageamsmath, amssymb

              usepackagepgfplots % it load tikz too
              pgfplotssetcompat=1.16
              usetikzlibraryautomata,
              arrows.meta, % ...customizing arrows
              positioning, % ...positioning nodes
              quotes % For edge labels
              usepgfplotslibraryfillbetween
              tikzsetnode distance=4.5cm, % Minimum distance between nodes. Change if necessary.
              every state/.style= % Sets the properties for each state
              semithick,
              fill=gray!10,
              initial text=, % No label on start arrow
              double distance=4pt, % Adjust appearance of accept states
              every edge/.style= % Sets the properties for each transition
              draw,
              semithick,
              -Stealth, % Makes edges directed with bold arrowheads
              auto,
              bend angle=15 % Reduce default bend angle


              usepackagehyperref % had to be last in preamble

              begindocument
              beginfigure[htb]
              centering
              begintikzpicture[]
              node[state] (s1) State 1;
              node[state, below right of=s1] (s2) State 2;
              node[state, below left of=s1] (s3) State 3;

              draw (s1) edge[loop above] (s1)
              (s1) edge[bend left] (s2)
              (s1) edge[bend right] (s3)
              %
              (s2) edge[bend left] (s1)
              (s2) edge[loop right] (s2)
              (s2) edge[bend right] (s3)
              %
              (s3) edge[bend right] (s1)
              (s3) edge[bend right] (s2)
              (s3) edge[loop left] (s3);
              endtikzpicture
              endfigure
              enddocument


            enter image description here






            share|improve this answer























              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',
              autoActivateHeartbeat: false,
              convertImagesToLinks: false,
              noModals: true,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: null,
              bindNavPrevention: true,
              postfix: "",
              imageUploader:
              brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
              contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
              allowUrls: true
              ,
              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%2f482673%2farrows-in-tikz-markov-chain-diagram-overlap%23new-answer', 'question_page');

              );

              Post as a guest















              Required, but never shown

























              2 Answers
              2






              active

              oldest

              votes








              2 Answers
              2






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              3














              bend left and bend right come with parameters, the bending angles. Adjusting them allows you to avoid the intersections. (BTW, I also removed packages that were not used. Note also that the arrows library got superseded by arrows.meta but I kept arrows for now.)



              documentclass[reqno]amsart
              usepackagetikz
              usetikzlibraryautomata
              usetikzlibrarypositioning % ...positioning nodes
              usetikzlibraryarrows % ...customizing arrows
              tikzsetnode distance=4.5cm, % Minimum distance between two nodes. Change if necessary.
              every state/.style= % Sets the properties for each state
              semithick,
              fill=gray!10,
              initial text=, % No label on start arrow
              double distance=4pt, % Adjust appearance of accept states
              every edge/.style= % Sets the properties for each transition
              draw,
              ->,>=stealth', % Makes edges directed with bold arrowheads
              auto,
              semithick

              begindocument

              beginfigure[htb]
              centering
              begintikzpicture
              node[state] (s1) State 1;
              node[state, below right of=s1] (s2) State 2;
              node[state, below left of=s1] (s3) State 3;

              draw (s1) edge[loop above] (s1);
              draw (s1) edge[bend left] (s2);
              draw (s1) edge[bend right] (s3);

              draw (s2) edge[bend left=12] (s1);
              draw (s2) edge[loop right] (s2);
              draw (s2) edge[bend right=12] (s3);

              draw (s3) edge[bend right=12] (s1);
              draw (s3) edge[bend right] (s2);
              draw (s3) edge[loop left] (s3);

              endtikzpicture
              endfigure
              enddocument


              enter image description here






              share|improve this answer



























                3














                bend left and bend right come with parameters, the bending angles. Adjusting them allows you to avoid the intersections. (BTW, I also removed packages that were not used. Note also that the arrows library got superseded by arrows.meta but I kept arrows for now.)



                documentclass[reqno]amsart
                usepackagetikz
                usetikzlibraryautomata
                usetikzlibrarypositioning % ...positioning nodes
                usetikzlibraryarrows % ...customizing arrows
                tikzsetnode distance=4.5cm, % Minimum distance between two nodes. Change if necessary.
                every state/.style= % Sets the properties for each state
                semithick,
                fill=gray!10,
                initial text=, % No label on start arrow
                double distance=4pt, % Adjust appearance of accept states
                every edge/.style= % Sets the properties for each transition
                draw,
                ->,>=stealth', % Makes edges directed with bold arrowheads
                auto,
                semithick

                begindocument

                beginfigure[htb]
                centering
                begintikzpicture
                node[state] (s1) State 1;
                node[state, below right of=s1] (s2) State 2;
                node[state, below left of=s1] (s3) State 3;

                draw (s1) edge[loop above] (s1);
                draw (s1) edge[bend left] (s2);
                draw (s1) edge[bend right] (s3);

                draw (s2) edge[bend left=12] (s1);
                draw (s2) edge[loop right] (s2);
                draw (s2) edge[bend right=12] (s3);

                draw (s3) edge[bend right=12] (s1);
                draw (s3) edge[bend right] (s2);
                draw (s3) edge[loop left] (s3);

                endtikzpicture
                endfigure
                enddocument


                enter image description here






                share|improve this answer

























                  3












                  3








                  3







                  bend left and bend right come with parameters, the bending angles. Adjusting them allows you to avoid the intersections. (BTW, I also removed packages that were not used. Note also that the arrows library got superseded by arrows.meta but I kept arrows for now.)



                  documentclass[reqno]amsart
                  usepackagetikz
                  usetikzlibraryautomata
                  usetikzlibrarypositioning % ...positioning nodes
                  usetikzlibraryarrows % ...customizing arrows
                  tikzsetnode distance=4.5cm, % Minimum distance between two nodes. Change if necessary.
                  every state/.style= % Sets the properties for each state
                  semithick,
                  fill=gray!10,
                  initial text=, % No label on start arrow
                  double distance=4pt, % Adjust appearance of accept states
                  every edge/.style= % Sets the properties for each transition
                  draw,
                  ->,>=stealth', % Makes edges directed with bold arrowheads
                  auto,
                  semithick

                  begindocument

                  beginfigure[htb]
                  centering
                  begintikzpicture
                  node[state] (s1) State 1;
                  node[state, below right of=s1] (s2) State 2;
                  node[state, below left of=s1] (s3) State 3;

                  draw (s1) edge[loop above] (s1);
                  draw (s1) edge[bend left] (s2);
                  draw (s1) edge[bend right] (s3);

                  draw (s2) edge[bend left=12] (s1);
                  draw (s2) edge[loop right] (s2);
                  draw (s2) edge[bend right=12] (s3);

                  draw (s3) edge[bend right=12] (s1);
                  draw (s3) edge[bend right] (s2);
                  draw (s3) edge[loop left] (s3);

                  endtikzpicture
                  endfigure
                  enddocument


                  enter image description here






                  share|improve this answer













                  bend left and bend right come with parameters, the bending angles. Adjusting them allows you to avoid the intersections. (BTW, I also removed packages that were not used. Note also that the arrows library got superseded by arrows.meta but I kept arrows for now.)



                  documentclass[reqno]amsart
                  usepackagetikz
                  usetikzlibraryautomata
                  usetikzlibrarypositioning % ...positioning nodes
                  usetikzlibraryarrows % ...customizing arrows
                  tikzsetnode distance=4.5cm, % Minimum distance between two nodes. Change if necessary.
                  every state/.style= % Sets the properties for each state
                  semithick,
                  fill=gray!10,
                  initial text=, % No label on start arrow
                  double distance=4pt, % Adjust appearance of accept states
                  every edge/.style= % Sets the properties for each transition
                  draw,
                  ->,>=stealth', % Makes edges directed with bold arrowheads
                  auto,
                  semithick

                  begindocument

                  beginfigure[htb]
                  centering
                  begintikzpicture
                  node[state] (s1) State 1;
                  node[state, below right of=s1] (s2) State 2;
                  node[state, below left of=s1] (s3) State 3;

                  draw (s1) edge[loop above] (s1);
                  draw (s1) edge[bend left] (s2);
                  draw (s1) edge[bend right] (s3);

                  draw (s2) edge[bend left=12] (s1);
                  draw (s2) edge[loop right] (s2);
                  draw (s2) edge[bend right=12] (s3);

                  draw (s3) edge[bend right=12] (s1);
                  draw (s3) edge[bend right] (s2);
                  draw (s3) edge[loop left] (s3);

                  endtikzpicture
                  endfigure
                  enddocument


                  enter image description here







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered 2 hours ago









                  marmotmarmot

                  113k5145275




                  113k5145275





















                      0














                      you can reduce default value of bend angle. just add bend angle=15 to your tikzset (similarly @marmoth change it locally for two arrows bend).



                      off topic:



                      • for labeling of arrows is handy to use quotes library and than wrote it as for example ... (s1) edge["label",bend left] (s2).


                      • package hyperref had to be load last in preamble (except in rare exception)



                        documentclass[reqno]amsart
                        usepackageamsmath, amssymb

                        usepackagepgfplots % it load tikz too
                        pgfplotssetcompat=1.16
                        usetikzlibraryautomata,
                        arrows.meta, % ...customizing arrows
                        positioning, % ...positioning nodes
                        quotes % For edge labels
                        usepgfplotslibraryfillbetween
                        tikzsetnode distance=4.5cm, % Minimum distance between nodes. Change if necessary.
                        every state/.style= % Sets the properties for each state
                        semithick,
                        fill=gray!10,
                        initial text=, % No label on start arrow
                        double distance=4pt, % Adjust appearance of accept states
                        every edge/.style= % Sets the properties for each transition
                        draw,
                        semithick,
                        -Stealth, % Makes edges directed with bold arrowheads
                        auto,
                        bend angle=15 % Reduce default bend angle


                        usepackagehyperref % had to be last in preamble

                        begindocument
                        beginfigure[htb]
                        centering
                        begintikzpicture[]
                        node[state] (s1) State 1;
                        node[state, below right of=s1] (s2) State 2;
                        node[state, below left of=s1] (s3) State 3;

                        draw (s1) edge[loop above] (s1)
                        (s1) edge[bend left] (s2)
                        (s1) edge[bend right] (s3)
                        %
                        (s2) edge[bend left] (s1)
                        (s2) edge[loop right] (s2)
                        (s2) edge[bend right] (s3)
                        %
                        (s3) edge[bend right] (s1)
                        (s3) edge[bend right] (s2)
                        (s3) edge[loop left] (s3);
                        endtikzpicture
                        endfigure
                        enddocument


                      enter image description here






                      share|improve this answer



























                        0














                        you can reduce default value of bend angle. just add bend angle=15 to your tikzset (similarly @marmoth change it locally for two arrows bend).



                        off topic:



                        • for labeling of arrows is handy to use quotes library and than wrote it as for example ... (s1) edge["label",bend left] (s2).


                        • package hyperref had to be load last in preamble (except in rare exception)



                          documentclass[reqno]amsart
                          usepackageamsmath, amssymb

                          usepackagepgfplots % it load tikz too
                          pgfplotssetcompat=1.16
                          usetikzlibraryautomata,
                          arrows.meta, % ...customizing arrows
                          positioning, % ...positioning nodes
                          quotes % For edge labels
                          usepgfplotslibraryfillbetween
                          tikzsetnode distance=4.5cm, % Minimum distance between nodes. Change if necessary.
                          every state/.style= % Sets the properties for each state
                          semithick,
                          fill=gray!10,
                          initial text=, % No label on start arrow
                          double distance=4pt, % Adjust appearance of accept states
                          every edge/.style= % Sets the properties for each transition
                          draw,
                          semithick,
                          -Stealth, % Makes edges directed with bold arrowheads
                          auto,
                          bend angle=15 % Reduce default bend angle


                          usepackagehyperref % had to be last in preamble

                          begindocument
                          beginfigure[htb]
                          centering
                          begintikzpicture[]
                          node[state] (s1) State 1;
                          node[state, below right of=s1] (s2) State 2;
                          node[state, below left of=s1] (s3) State 3;

                          draw (s1) edge[loop above] (s1)
                          (s1) edge[bend left] (s2)
                          (s1) edge[bend right] (s3)
                          %
                          (s2) edge[bend left] (s1)
                          (s2) edge[loop right] (s2)
                          (s2) edge[bend right] (s3)
                          %
                          (s3) edge[bend right] (s1)
                          (s3) edge[bend right] (s2)
                          (s3) edge[loop left] (s3);
                          endtikzpicture
                          endfigure
                          enddocument


                        enter image description here






                        share|improve this answer

























                          0












                          0








                          0







                          you can reduce default value of bend angle. just add bend angle=15 to your tikzset (similarly @marmoth change it locally for two arrows bend).



                          off topic:



                          • for labeling of arrows is handy to use quotes library and than wrote it as for example ... (s1) edge["label",bend left] (s2).


                          • package hyperref had to be load last in preamble (except in rare exception)



                            documentclass[reqno]amsart
                            usepackageamsmath, amssymb

                            usepackagepgfplots % it load tikz too
                            pgfplotssetcompat=1.16
                            usetikzlibraryautomata,
                            arrows.meta, % ...customizing arrows
                            positioning, % ...positioning nodes
                            quotes % For edge labels
                            usepgfplotslibraryfillbetween
                            tikzsetnode distance=4.5cm, % Minimum distance between nodes. Change if necessary.
                            every state/.style= % Sets the properties for each state
                            semithick,
                            fill=gray!10,
                            initial text=, % No label on start arrow
                            double distance=4pt, % Adjust appearance of accept states
                            every edge/.style= % Sets the properties for each transition
                            draw,
                            semithick,
                            -Stealth, % Makes edges directed with bold arrowheads
                            auto,
                            bend angle=15 % Reduce default bend angle


                            usepackagehyperref % had to be last in preamble

                            begindocument
                            beginfigure[htb]
                            centering
                            begintikzpicture[]
                            node[state] (s1) State 1;
                            node[state, below right of=s1] (s2) State 2;
                            node[state, below left of=s1] (s3) State 3;

                            draw (s1) edge[loop above] (s1)
                            (s1) edge[bend left] (s2)
                            (s1) edge[bend right] (s3)
                            %
                            (s2) edge[bend left] (s1)
                            (s2) edge[loop right] (s2)
                            (s2) edge[bend right] (s3)
                            %
                            (s3) edge[bend right] (s1)
                            (s3) edge[bend right] (s2)
                            (s3) edge[loop left] (s3);
                            endtikzpicture
                            endfigure
                            enddocument


                          enter image description here






                          share|improve this answer













                          you can reduce default value of bend angle. just add bend angle=15 to your tikzset (similarly @marmoth change it locally for two arrows bend).



                          off topic:



                          • for labeling of arrows is handy to use quotes library and than wrote it as for example ... (s1) edge["label",bend left] (s2).


                          • package hyperref had to be load last in preamble (except in rare exception)



                            documentclass[reqno]amsart
                            usepackageamsmath, amssymb

                            usepackagepgfplots % it load tikz too
                            pgfplotssetcompat=1.16
                            usetikzlibraryautomata,
                            arrows.meta, % ...customizing arrows
                            positioning, % ...positioning nodes
                            quotes % For edge labels
                            usepgfplotslibraryfillbetween
                            tikzsetnode distance=4.5cm, % Minimum distance between nodes. Change if necessary.
                            every state/.style= % Sets the properties for each state
                            semithick,
                            fill=gray!10,
                            initial text=, % No label on start arrow
                            double distance=4pt, % Adjust appearance of accept states
                            every edge/.style= % Sets the properties for each transition
                            draw,
                            semithick,
                            -Stealth, % Makes edges directed with bold arrowheads
                            auto,
                            bend angle=15 % Reduce default bend angle


                            usepackagehyperref % had to be last in preamble

                            begindocument
                            beginfigure[htb]
                            centering
                            begintikzpicture[]
                            node[state] (s1) State 1;
                            node[state, below right of=s1] (s2) State 2;
                            node[state, below left of=s1] (s3) State 3;

                            draw (s1) edge[loop above] (s1)
                            (s1) edge[bend left] (s2)
                            (s1) edge[bend right] (s3)
                            %
                            (s2) edge[bend left] (s1)
                            (s2) edge[loop right] (s2)
                            (s2) edge[bend right] (s3)
                            %
                            (s3) edge[bend right] (s1)
                            (s3) edge[bend right] (s2)
                            (s3) edge[loop left] (s3);
                            endtikzpicture
                            endfigure
                            enddocument


                          enter image description here







                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered 1 hour ago









                          ZarkoZarko

                          128k868169




                          128k868169



























                              draft saved

                              draft discarded
















































                              Thanks for contributing an answer to TeX - LaTeX Stack Exchange!


                              • Please be sure to answer the question. Provide details and share your research!

                              But avoid


                              • Asking for help, clarification, or responding to other answers.

                              • Making statements based on opinion; back them up with references or personal experience.

                              To learn more, see our tips on writing great answers.




                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function ()
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f482673%2farrows-in-tikz-markov-chain-diagram-overlap%23new-answer', 'question_page');

                              );

                              Post as a guest















                              Required, but never shown





















































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown

































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown







                              Popular posts from this blog

                              名間水力發電廠 目录 沿革 設施 鄰近設施 註釋 外部連結 导航菜单23°50′10″N 120°42′41″E / 23.83611°N 120.71139°E / 23.83611; 120.7113923°50′10″N 120°42′41″E / 23.83611°N 120.71139°E / 23.83611; 120.71139計畫概要原始内容臺灣第一座BOT 模式開發的水力發電廠-名間水力電廠名間水力發電廠 水利署首件BOT案原始内容《小檔案》名間電廠 首座BOT水力發電廠原始内容名間電廠BOT - 經濟部水利署中區水資源局

                              Prove that NP is closed under karp reduction?Space(n) not closed under Karp reductions - what about NTime(n)?Class P is closed under rotation?Prove or disprove that $NL$ is closed under polynomial many-one reductions$mathbfNC_2$ is closed under log-space reductionOn Karp reductionwhen can I know if a class (complexity) is closed under reduction (cook/karp)Check if class $PSPACE$ is closed under polyonomially space reductionIs NPSPACE also closed under polynomial-time reduction and under log-space reduction?Prove PSPACE is closed under complement?Prove PSPACE is closed under union?

                              Is my guitar’s action too high? Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)Strings too stiff on a recently purchased acoustic guitar | Cort AD880CEIs the action of my guitar really high?Μy little finger is too weak to play guitarWith guitar, how long should I give my fingers to strengthen / callous?When playing a fret the guitar sounds mutedPlaying (Barre) chords up the guitar neckI think my guitar strings are wound too tight and I can't play barre chordsF barre chord on an SG guitarHow to find to the right strings of a barre chord by feel?High action on higher fret on my steel acoustic guitar