How to get curved arrow originating and ending at the same nodeTikZ: Get values for predefined dash patterns...

Is there a way to find out the age of climbing ropes?

Why aren't there more gauls like Obelix?

Plagiarism of code by other PhD student

How will Occam's Razor principle work in Machine learning

Split a number into equal parts given the number of parts

How spaceships determine each other mass in space?

What is a term for a function that when called repeatedly, has the same effect as calling once?

Create chunks from an array

Are Wave equations equivalent to Maxwell equations?

Can a Mexican citizen living in US under DACA drive to Canada?

Should we avoid writing fiction about historical events without extensive research?

How do we objectively assess if a dialogue sounds unnatural or cringy?

Can I solder 12/2 Romex to extend wire 5 ft?

PTIJ: What dummy is the Gemara referring to?

Searching for a string that contains the file name

Remove object from array based on array of some property of that object

Why is it "take a leak?"

Did Amazon pay $0 in taxes last year?

How can I handle a player who pre-plans arguments about my rulings on RAW?

What is better: yes / no radio, or simple checkbox?

What kind of inflection is occuring in passive vb + かかった?

Has a sovereign Communist government ever run, and conceded loss, on a fair election?

Number of folds to form a cube, using a square paper?

School performs periodic password audits. Is my password compromised?



How to get curved arrow originating and ending at the same node


TikZ: Get values for predefined dash patterns for grid in the option help linesParts (node) with the same height TikzHow to define the default vertical distance between nodes?Numerical conditional within tikz keys?Curved text within a curved arrowTikZ Spacing Between Arrow and NodeTikZ: Drawing an arc from an intersection to an intersectionProblems with nested TikZpicturesThe TikZ pipeline: A path's 'draw' option has no effect on a 'behind path' nodedraw curved arrowGet bend arrow right (dangling head, not curved)













4















Hi I'm trying to replicate the graph below. I've done most of it, but can't figure out a way to have an arrow originate and end at



Aim to replicate this



I've managed to get the below figure. And I'm stuck at produce the arrows on the Node E.



enter image description here



I've attached the code below



tikzstyle{state} = [circle, minimum width=2cm, draw=black]
begin{tikzpicture}[very thick, ->, >=stealth,auto, node distance=4cm]
node(shift) [state] {Shift $=1$};
node [above of=shift, yshift=-3.5cm] {S};
node(add) [state, right of=shift] {Add $=1$};
node [above of=add, yshift=-3.5cm] {A};
node(init) [state, right of=add] {Init $=1$};
node [above of=init, yshift=-3.5cm] {I};
node(control) [state, below of=add] {};
node [above of=control, yshift=-3.5cm] {C};
node(others) [state, below of=control] {};
node [above of=others, yshift=-3.5cm] {Others};
node(end) [state, right of=control] {Done $=1$};
node [above of=end, yshift=-3.5cm] {E};
node(reset) [circle, draw=black, fill=black, right of=end, xshift=-1.5cm] {};
node [above of=reset, yshift=-3.5cm] {Reset};

path (add) edge node [above] {$1$} (shift);
path (shift) edge[bend right] node [below left] {LSB/Stop $=00$} (control);
path (control) edge[] node [above right] {$1$} (shift);
path (control) edge[] node [right] {LSB $=1$} (add);
path (init) edge[] node [below right] {$1$} (control);
path (end) edge[] node [right] {Start $=1$} (init);
path (control) edge[] node [above] {$01$} (end);
path (others) edge[] node [above left] {$1$} (end);
path (reset) edge[] node [] {} (end);
end{tikzpicture}









share|improve this question







New contributor




leviathan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

























    4















    Hi I'm trying to replicate the graph below. I've done most of it, but can't figure out a way to have an arrow originate and end at



    Aim to replicate this



    I've managed to get the below figure. And I'm stuck at produce the arrows on the Node E.



    enter image description here



    I've attached the code below



    tikzstyle{state} = [circle, minimum width=2cm, draw=black]
    begin{tikzpicture}[very thick, ->, >=stealth,auto, node distance=4cm]
    node(shift) [state] {Shift $=1$};
    node [above of=shift, yshift=-3.5cm] {S};
    node(add) [state, right of=shift] {Add $=1$};
    node [above of=add, yshift=-3.5cm] {A};
    node(init) [state, right of=add] {Init $=1$};
    node [above of=init, yshift=-3.5cm] {I};
    node(control) [state, below of=add] {};
    node [above of=control, yshift=-3.5cm] {C};
    node(others) [state, below of=control] {};
    node [above of=others, yshift=-3.5cm] {Others};
    node(end) [state, right of=control] {Done $=1$};
    node [above of=end, yshift=-3.5cm] {E};
    node(reset) [circle, draw=black, fill=black, right of=end, xshift=-1.5cm] {};
    node [above of=reset, yshift=-3.5cm] {Reset};

    path (add) edge node [above] {$1$} (shift);
    path (shift) edge[bend right] node [below left] {LSB/Stop $=00$} (control);
    path (control) edge[] node [above right] {$1$} (shift);
    path (control) edge[] node [right] {LSB $=1$} (add);
    path (init) edge[] node [below right] {$1$} (control);
    path (end) edge[] node [right] {Start $=1$} (init);
    path (control) edge[] node [above] {$01$} (end);
    path (others) edge[] node [above left] {$1$} (end);
    path (reset) edge[] node [] {} (end);
    end{tikzpicture}









    share|improve this question







    New contributor




    leviathan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.























      4












      4








      4


      0






      Hi I'm trying to replicate the graph below. I've done most of it, but can't figure out a way to have an arrow originate and end at



      Aim to replicate this



      I've managed to get the below figure. And I'm stuck at produce the arrows on the Node E.



      enter image description here



      I've attached the code below



      tikzstyle{state} = [circle, minimum width=2cm, draw=black]
      begin{tikzpicture}[very thick, ->, >=stealth,auto, node distance=4cm]
      node(shift) [state] {Shift $=1$};
      node [above of=shift, yshift=-3.5cm] {S};
      node(add) [state, right of=shift] {Add $=1$};
      node [above of=add, yshift=-3.5cm] {A};
      node(init) [state, right of=add] {Init $=1$};
      node [above of=init, yshift=-3.5cm] {I};
      node(control) [state, below of=add] {};
      node [above of=control, yshift=-3.5cm] {C};
      node(others) [state, below of=control] {};
      node [above of=others, yshift=-3.5cm] {Others};
      node(end) [state, right of=control] {Done $=1$};
      node [above of=end, yshift=-3.5cm] {E};
      node(reset) [circle, draw=black, fill=black, right of=end, xshift=-1.5cm] {};
      node [above of=reset, yshift=-3.5cm] {Reset};

      path (add) edge node [above] {$1$} (shift);
      path (shift) edge[bend right] node [below left] {LSB/Stop $=00$} (control);
      path (control) edge[] node [above right] {$1$} (shift);
      path (control) edge[] node [right] {LSB $=1$} (add);
      path (init) edge[] node [below right] {$1$} (control);
      path (end) edge[] node [right] {Start $=1$} (init);
      path (control) edge[] node [above] {$01$} (end);
      path (others) edge[] node [above left] {$1$} (end);
      path (reset) edge[] node [] {} (end);
      end{tikzpicture}









      share|improve this question







      New contributor




      leviathan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.












      Hi I'm trying to replicate the graph below. I've done most of it, but can't figure out a way to have an arrow originate and end at



      Aim to replicate this



      I've managed to get the below figure. And I'm stuck at produce the arrows on the Node E.



      enter image description here



      I've attached the code below



      tikzstyle{state} = [circle, minimum width=2cm, draw=black]
      begin{tikzpicture}[very thick, ->, >=stealth,auto, node distance=4cm]
      node(shift) [state] {Shift $=1$};
      node [above of=shift, yshift=-3.5cm] {S};
      node(add) [state, right of=shift] {Add $=1$};
      node [above of=add, yshift=-3.5cm] {A};
      node(init) [state, right of=add] {Init $=1$};
      node [above of=init, yshift=-3.5cm] {I};
      node(control) [state, below of=add] {};
      node [above of=control, yshift=-3.5cm] {C};
      node(others) [state, below of=control] {};
      node [above of=others, yshift=-3.5cm] {Others};
      node(end) [state, right of=control] {Done $=1$};
      node [above of=end, yshift=-3.5cm] {E};
      node(reset) [circle, draw=black, fill=black, right of=end, xshift=-1.5cm] {};
      node [above of=reset, yshift=-3.5cm] {Reset};

      path (add) edge node [above] {$1$} (shift);
      path (shift) edge[bend right] node [below left] {LSB/Stop $=00$} (control);
      path (control) edge[] node [above right] {$1$} (shift);
      path (control) edge[] node [right] {LSB $=1$} (add);
      path (init) edge[] node [below right] {$1$} (control);
      path (end) edge[] node [right] {Start $=1$} (init);
      path (control) edge[] node [above] {$01$} (end);
      path (others) edge[] node [above left] {$1$} (end);
      path (reset) edge[] node [] {} (end);
      end{tikzpicture}






      tikz-pgf nodes






      share|improve this question







      New contributor




      leviathan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|improve this question







      New contributor




      leviathan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|improve this question




      share|improve this question






      New contributor




      leviathan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked 16 hours ago









      leviathanleviathan

      233




      233




      New contributor




      leviathan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      leviathan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      leviathan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















          1 Answer
          1






          active

          oldest

          votes


















          2














          Like this ? (see commented line for explanations)



          screenshot



          documentclass[tikz,border=5mm]{standalone}

          begin{document}
          tikzstyle{state} = [circle, minimum width=2cm, draw=black]
          begin{tikzpicture}[very thick, ->, >=stealth,auto, node distance=4cm]
          node(shift) [state] {Shift $=1$};
          node [above of=shift, yshift=-3.5cm] {S};
          node(add) [state, right of=shift] {Add $=1$};
          node [above of=add, yshift=-3.5cm] {A};
          node(init) [state, right of=add] {Init $=1$};
          node [above of=init, yshift=-3.5cm] {I};
          node(control) [state, below of=add] {};
          node [above of=control, yshift=-3.5cm] {C};
          node(others) [state, below of=control] {};
          node [above of=others, yshift=-3.5cm] {Others};
          node(end) [state, right of=control] {Done $=1$ };
          draw (end) to [in=-40,out=220,looseness=5,min distance=30mm]node[above]{Start $=0$} (end);% <------ loop Start=0
          node [above of=end, yshift=-3.5cm] {E };
          node(reset) [circle, draw=black, fill=black, right of=end, xshift=-1.5cm] {};
          node [above of=reset, yshift=-3.5cm] {Reset};

          path (add) edge node [above] {$1$} (shift);
          path (shift) edge[bend right] node [below left] {LSB/Stop $=00$} (control);
          path (control) edge[] node [above right] {$1$} (shift);
          path (control) edge[] node [right] {LSB $=1$} (add);
          path (init) edge[] node [below right] {$1$} (control);
          path (end) edge[] node [right] {Start $=1$} (init);
          path (control) edge[] node [above] {$01$} (end);
          path (others) edge[] node [above left] {$1$} (end.200);%<--- arrows a little above
          path (reset) edge[] node [] {} (end);
          %node [circle,draw] at (end){} edge [in=30,out=60,loop] ();
          end{tikzpicture}
          end{document}


          Addendum:



          tikzstyle is deprecated, use tikzset instead, which give:



          documentclass[tikz,border=5mm]{standalone}

          begin{document}
          %tikzstyle{state} = [circle, minimum width=2cm, draw=black]
          tikzset{state/.style={circle, minimum width=2cm, draw=black}}
          begin{tikzpicture}[very thick, ->, >=stealth,auto, node distance=4cm]
          node(shift) [state] {Shift $=1$};
          node [above of=shift, yshift=-3.5cm] {S};
          node(add) [state, right of=shift] {Add $=1$};
          node [above of=add, yshift=-3.5cm] {A};
          node(init) [state, right of=add] {Init $=1$};
          node [above of=init, yshift=-3.5cm] {I};
          node(control) [state, below of=add] {};
          node [above of=control, yshift=-3.5cm] {C};
          node(others) [state, below of=control] {};
          node [above of=others, yshift=-3.5cm] {Others};
          node(end) [state, right of=control] {Done $=1$ };
          draw (end) to [in=-40,out=220,looseness=5,min distance=30mm]node[above]{Start $=0$} (end);% <------ loop Start=0
          node [above of=end, yshift=-3.5cm] {E };
          node(reset) [circle, draw=black, fill=black, right of=end, xshift=-1.5cm] {};
          node [above of=reset, yshift=-3.5cm] {Reset};

          path (add) edge node [above] {$1$} (shift);
          path (shift) edge[bend right] node [below left] {LSB/Stop $=00$} (control);
          path (control) edge[] node [above right] {$1$} (shift);
          path (control) edge[] node [right] {LSB $=1$} (add);
          path (init) edge[] node [below right] {$1$} (control);
          path (end) edge[] node [right] {Start $=1$} (init);
          path (control) edge[] node [above] {$01$} (end);
          path (others) edge[] node [above left] {$1$} (end.200);%<--- arrows a little above
          path (reset) edge[] node [] {} (end);
          end{tikzpicture}
          end{document}





          share|improve this answer


























          • Thank you, that worked perfectly

            – leviathan
            14 hours ago











          • tex.stackexchange.com/questions/476253/…

            – marmot
            14 hours ago











          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
          });


          }
          });






          leviathan is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f478103%2fhow-to-get-curved-arrow-originating-and-ending-at-the-same-node%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          2














          Like this ? (see commented line for explanations)



          screenshot



          documentclass[tikz,border=5mm]{standalone}

          begin{document}
          tikzstyle{state} = [circle, minimum width=2cm, draw=black]
          begin{tikzpicture}[very thick, ->, >=stealth,auto, node distance=4cm]
          node(shift) [state] {Shift $=1$};
          node [above of=shift, yshift=-3.5cm] {S};
          node(add) [state, right of=shift] {Add $=1$};
          node [above of=add, yshift=-3.5cm] {A};
          node(init) [state, right of=add] {Init $=1$};
          node [above of=init, yshift=-3.5cm] {I};
          node(control) [state, below of=add] {};
          node [above of=control, yshift=-3.5cm] {C};
          node(others) [state, below of=control] {};
          node [above of=others, yshift=-3.5cm] {Others};
          node(end) [state, right of=control] {Done $=1$ };
          draw (end) to [in=-40,out=220,looseness=5,min distance=30mm]node[above]{Start $=0$} (end);% <------ loop Start=0
          node [above of=end, yshift=-3.5cm] {E };
          node(reset) [circle, draw=black, fill=black, right of=end, xshift=-1.5cm] {};
          node [above of=reset, yshift=-3.5cm] {Reset};

          path (add) edge node [above] {$1$} (shift);
          path (shift) edge[bend right] node [below left] {LSB/Stop $=00$} (control);
          path (control) edge[] node [above right] {$1$} (shift);
          path (control) edge[] node [right] {LSB $=1$} (add);
          path (init) edge[] node [below right] {$1$} (control);
          path (end) edge[] node [right] {Start $=1$} (init);
          path (control) edge[] node [above] {$01$} (end);
          path (others) edge[] node [above left] {$1$} (end.200);%<--- arrows a little above
          path (reset) edge[] node [] {} (end);
          %node [circle,draw] at (end){} edge [in=30,out=60,loop] ();
          end{tikzpicture}
          end{document}


          Addendum:



          tikzstyle is deprecated, use tikzset instead, which give:



          documentclass[tikz,border=5mm]{standalone}

          begin{document}
          %tikzstyle{state} = [circle, minimum width=2cm, draw=black]
          tikzset{state/.style={circle, minimum width=2cm, draw=black}}
          begin{tikzpicture}[very thick, ->, >=stealth,auto, node distance=4cm]
          node(shift) [state] {Shift $=1$};
          node [above of=shift, yshift=-3.5cm] {S};
          node(add) [state, right of=shift] {Add $=1$};
          node [above of=add, yshift=-3.5cm] {A};
          node(init) [state, right of=add] {Init $=1$};
          node [above of=init, yshift=-3.5cm] {I};
          node(control) [state, below of=add] {};
          node [above of=control, yshift=-3.5cm] {C};
          node(others) [state, below of=control] {};
          node [above of=others, yshift=-3.5cm] {Others};
          node(end) [state, right of=control] {Done $=1$ };
          draw (end) to [in=-40,out=220,looseness=5,min distance=30mm]node[above]{Start $=0$} (end);% <------ loop Start=0
          node [above of=end, yshift=-3.5cm] {E };
          node(reset) [circle, draw=black, fill=black, right of=end, xshift=-1.5cm] {};
          node [above of=reset, yshift=-3.5cm] {Reset};

          path (add) edge node [above] {$1$} (shift);
          path (shift) edge[bend right] node [below left] {LSB/Stop $=00$} (control);
          path (control) edge[] node [above right] {$1$} (shift);
          path (control) edge[] node [right] {LSB $=1$} (add);
          path (init) edge[] node [below right] {$1$} (control);
          path (end) edge[] node [right] {Start $=1$} (init);
          path (control) edge[] node [above] {$01$} (end);
          path (others) edge[] node [above left] {$1$} (end.200);%<--- arrows a little above
          path (reset) edge[] node [] {} (end);
          end{tikzpicture}
          end{document}





          share|improve this answer


























          • Thank you, that worked perfectly

            – leviathan
            14 hours ago











          • tex.stackexchange.com/questions/476253/…

            – marmot
            14 hours ago
















          2














          Like this ? (see commented line for explanations)



          screenshot



          documentclass[tikz,border=5mm]{standalone}

          begin{document}
          tikzstyle{state} = [circle, minimum width=2cm, draw=black]
          begin{tikzpicture}[very thick, ->, >=stealth,auto, node distance=4cm]
          node(shift) [state] {Shift $=1$};
          node [above of=shift, yshift=-3.5cm] {S};
          node(add) [state, right of=shift] {Add $=1$};
          node [above of=add, yshift=-3.5cm] {A};
          node(init) [state, right of=add] {Init $=1$};
          node [above of=init, yshift=-3.5cm] {I};
          node(control) [state, below of=add] {};
          node [above of=control, yshift=-3.5cm] {C};
          node(others) [state, below of=control] {};
          node [above of=others, yshift=-3.5cm] {Others};
          node(end) [state, right of=control] {Done $=1$ };
          draw (end) to [in=-40,out=220,looseness=5,min distance=30mm]node[above]{Start $=0$} (end);% <------ loop Start=0
          node [above of=end, yshift=-3.5cm] {E };
          node(reset) [circle, draw=black, fill=black, right of=end, xshift=-1.5cm] {};
          node [above of=reset, yshift=-3.5cm] {Reset};

          path (add) edge node [above] {$1$} (shift);
          path (shift) edge[bend right] node [below left] {LSB/Stop $=00$} (control);
          path (control) edge[] node [above right] {$1$} (shift);
          path (control) edge[] node [right] {LSB $=1$} (add);
          path (init) edge[] node [below right] {$1$} (control);
          path (end) edge[] node [right] {Start $=1$} (init);
          path (control) edge[] node [above] {$01$} (end);
          path (others) edge[] node [above left] {$1$} (end.200);%<--- arrows a little above
          path (reset) edge[] node [] {} (end);
          %node [circle,draw] at (end){} edge [in=30,out=60,loop] ();
          end{tikzpicture}
          end{document}


          Addendum:



          tikzstyle is deprecated, use tikzset instead, which give:



          documentclass[tikz,border=5mm]{standalone}

          begin{document}
          %tikzstyle{state} = [circle, minimum width=2cm, draw=black]
          tikzset{state/.style={circle, minimum width=2cm, draw=black}}
          begin{tikzpicture}[very thick, ->, >=stealth,auto, node distance=4cm]
          node(shift) [state] {Shift $=1$};
          node [above of=shift, yshift=-3.5cm] {S};
          node(add) [state, right of=shift] {Add $=1$};
          node [above of=add, yshift=-3.5cm] {A};
          node(init) [state, right of=add] {Init $=1$};
          node [above of=init, yshift=-3.5cm] {I};
          node(control) [state, below of=add] {};
          node [above of=control, yshift=-3.5cm] {C};
          node(others) [state, below of=control] {};
          node [above of=others, yshift=-3.5cm] {Others};
          node(end) [state, right of=control] {Done $=1$ };
          draw (end) to [in=-40,out=220,looseness=5,min distance=30mm]node[above]{Start $=0$} (end);% <------ loop Start=0
          node [above of=end, yshift=-3.5cm] {E };
          node(reset) [circle, draw=black, fill=black, right of=end, xshift=-1.5cm] {};
          node [above of=reset, yshift=-3.5cm] {Reset};

          path (add) edge node [above] {$1$} (shift);
          path (shift) edge[bend right] node [below left] {LSB/Stop $=00$} (control);
          path (control) edge[] node [above right] {$1$} (shift);
          path (control) edge[] node [right] {LSB $=1$} (add);
          path (init) edge[] node [below right] {$1$} (control);
          path (end) edge[] node [right] {Start $=1$} (init);
          path (control) edge[] node [above] {$01$} (end);
          path (others) edge[] node [above left] {$1$} (end.200);%<--- arrows a little above
          path (reset) edge[] node [] {} (end);
          end{tikzpicture}
          end{document}





          share|improve this answer


























          • Thank you, that worked perfectly

            – leviathan
            14 hours ago











          • tex.stackexchange.com/questions/476253/…

            – marmot
            14 hours ago














          2












          2








          2







          Like this ? (see commented line for explanations)



          screenshot



          documentclass[tikz,border=5mm]{standalone}

          begin{document}
          tikzstyle{state} = [circle, minimum width=2cm, draw=black]
          begin{tikzpicture}[very thick, ->, >=stealth,auto, node distance=4cm]
          node(shift) [state] {Shift $=1$};
          node [above of=shift, yshift=-3.5cm] {S};
          node(add) [state, right of=shift] {Add $=1$};
          node [above of=add, yshift=-3.5cm] {A};
          node(init) [state, right of=add] {Init $=1$};
          node [above of=init, yshift=-3.5cm] {I};
          node(control) [state, below of=add] {};
          node [above of=control, yshift=-3.5cm] {C};
          node(others) [state, below of=control] {};
          node [above of=others, yshift=-3.5cm] {Others};
          node(end) [state, right of=control] {Done $=1$ };
          draw (end) to [in=-40,out=220,looseness=5,min distance=30mm]node[above]{Start $=0$} (end);% <------ loop Start=0
          node [above of=end, yshift=-3.5cm] {E };
          node(reset) [circle, draw=black, fill=black, right of=end, xshift=-1.5cm] {};
          node [above of=reset, yshift=-3.5cm] {Reset};

          path (add) edge node [above] {$1$} (shift);
          path (shift) edge[bend right] node [below left] {LSB/Stop $=00$} (control);
          path (control) edge[] node [above right] {$1$} (shift);
          path (control) edge[] node [right] {LSB $=1$} (add);
          path (init) edge[] node [below right] {$1$} (control);
          path (end) edge[] node [right] {Start $=1$} (init);
          path (control) edge[] node [above] {$01$} (end);
          path (others) edge[] node [above left] {$1$} (end.200);%<--- arrows a little above
          path (reset) edge[] node [] {} (end);
          %node [circle,draw] at (end){} edge [in=30,out=60,loop] ();
          end{tikzpicture}
          end{document}


          Addendum:



          tikzstyle is deprecated, use tikzset instead, which give:



          documentclass[tikz,border=5mm]{standalone}

          begin{document}
          %tikzstyle{state} = [circle, minimum width=2cm, draw=black]
          tikzset{state/.style={circle, minimum width=2cm, draw=black}}
          begin{tikzpicture}[very thick, ->, >=stealth,auto, node distance=4cm]
          node(shift) [state] {Shift $=1$};
          node [above of=shift, yshift=-3.5cm] {S};
          node(add) [state, right of=shift] {Add $=1$};
          node [above of=add, yshift=-3.5cm] {A};
          node(init) [state, right of=add] {Init $=1$};
          node [above of=init, yshift=-3.5cm] {I};
          node(control) [state, below of=add] {};
          node [above of=control, yshift=-3.5cm] {C};
          node(others) [state, below of=control] {};
          node [above of=others, yshift=-3.5cm] {Others};
          node(end) [state, right of=control] {Done $=1$ };
          draw (end) to [in=-40,out=220,looseness=5,min distance=30mm]node[above]{Start $=0$} (end);% <------ loop Start=0
          node [above of=end, yshift=-3.5cm] {E };
          node(reset) [circle, draw=black, fill=black, right of=end, xshift=-1.5cm] {};
          node [above of=reset, yshift=-3.5cm] {Reset};

          path (add) edge node [above] {$1$} (shift);
          path (shift) edge[bend right] node [below left] {LSB/Stop $=00$} (control);
          path (control) edge[] node [above right] {$1$} (shift);
          path (control) edge[] node [right] {LSB $=1$} (add);
          path (init) edge[] node [below right] {$1$} (control);
          path (end) edge[] node [right] {Start $=1$} (init);
          path (control) edge[] node [above] {$01$} (end);
          path (others) edge[] node [above left] {$1$} (end.200);%<--- arrows a little above
          path (reset) edge[] node [] {} (end);
          end{tikzpicture}
          end{document}





          share|improve this answer















          Like this ? (see commented line for explanations)



          screenshot



          documentclass[tikz,border=5mm]{standalone}

          begin{document}
          tikzstyle{state} = [circle, minimum width=2cm, draw=black]
          begin{tikzpicture}[very thick, ->, >=stealth,auto, node distance=4cm]
          node(shift) [state] {Shift $=1$};
          node [above of=shift, yshift=-3.5cm] {S};
          node(add) [state, right of=shift] {Add $=1$};
          node [above of=add, yshift=-3.5cm] {A};
          node(init) [state, right of=add] {Init $=1$};
          node [above of=init, yshift=-3.5cm] {I};
          node(control) [state, below of=add] {};
          node [above of=control, yshift=-3.5cm] {C};
          node(others) [state, below of=control] {};
          node [above of=others, yshift=-3.5cm] {Others};
          node(end) [state, right of=control] {Done $=1$ };
          draw (end) to [in=-40,out=220,looseness=5,min distance=30mm]node[above]{Start $=0$} (end);% <------ loop Start=0
          node [above of=end, yshift=-3.5cm] {E };
          node(reset) [circle, draw=black, fill=black, right of=end, xshift=-1.5cm] {};
          node [above of=reset, yshift=-3.5cm] {Reset};

          path (add) edge node [above] {$1$} (shift);
          path (shift) edge[bend right] node [below left] {LSB/Stop $=00$} (control);
          path (control) edge[] node [above right] {$1$} (shift);
          path (control) edge[] node [right] {LSB $=1$} (add);
          path (init) edge[] node [below right] {$1$} (control);
          path (end) edge[] node [right] {Start $=1$} (init);
          path (control) edge[] node [above] {$01$} (end);
          path (others) edge[] node [above left] {$1$} (end.200);%<--- arrows a little above
          path (reset) edge[] node [] {} (end);
          %node [circle,draw] at (end){} edge [in=30,out=60,loop] ();
          end{tikzpicture}
          end{document}


          Addendum:



          tikzstyle is deprecated, use tikzset instead, which give:



          documentclass[tikz,border=5mm]{standalone}

          begin{document}
          %tikzstyle{state} = [circle, minimum width=2cm, draw=black]
          tikzset{state/.style={circle, minimum width=2cm, draw=black}}
          begin{tikzpicture}[very thick, ->, >=stealth,auto, node distance=4cm]
          node(shift) [state] {Shift $=1$};
          node [above of=shift, yshift=-3.5cm] {S};
          node(add) [state, right of=shift] {Add $=1$};
          node [above of=add, yshift=-3.5cm] {A};
          node(init) [state, right of=add] {Init $=1$};
          node [above of=init, yshift=-3.5cm] {I};
          node(control) [state, below of=add] {};
          node [above of=control, yshift=-3.5cm] {C};
          node(others) [state, below of=control] {};
          node [above of=others, yshift=-3.5cm] {Others};
          node(end) [state, right of=control] {Done $=1$ };
          draw (end) to [in=-40,out=220,looseness=5,min distance=30mm]node[above]{Start $=0$} (end);% <------ loop Start=0
          node [above of=end, yshift=-3.5cm] {E };
          node(reset) [circle, draw=black, fill=black, right of=end, xshift=-1.5cm] {};
          node [above of=reset, yshift=-3.5cm] {Reset};

          path (add) edge node [above] {$1$} (shift);
          path (shift) edge[bend right] node [below left] {LSB/Stop $=00$} (control);
          path (control) edge[] node [above right] {$1$} (shift);
          path (control) edge[] node [right] {LSB $=1$} (add);
          path (init) edge[] node [below right] {$1$} (control);
          path (end) edge[] node [right] {Start $=1$} (init);
          path (control) edge[] node [above] {$01$} (end);
          path (others) edge[] node [above left] {$1$} (end.200);%<--- arrows a little above
          path (reset) edge[] node [] {} (end);
          end{tikzpicture}
          end{document}






          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited 7 hours ago

























          answered 16 hours ago









          AndréCAndréC

          9,94311547




          9,94311547













          • Thank you, that worked perfectly

            – leviathan
            14 hours ago











          • tex.stackexchange.com/questions/476253/…

            – marmot
            14 hours ago



















          • Thank you, that worked perfectly

            – leviathan
            14 hours ago











          • tex.stackexchange.com/questions/476253/…

            – marmot
            14 hours ago

















          Thank you, that worked perfectly

          – leviathan
          14 hours ago





          Thank you, that worked perfectly

          – leviathan
          14 hours ago













          tex.stackexchange.com/questions/476253/…

          – marmot
          14 hours ago





          tex.stackexchange.com/questions/476253/…

          – marmot
          14 hours ago










          leviathan is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          leviathan is a new contributor. Be nice, and check out our Code of Conduct.













          leviathan is a new contributor. Be nice, and check out our Code of Conduct.












          leviathan is a new contributor. Be nice, and check out our Code of Conduct.
















          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%2f478103%2fhow-to-get-curved-arrow-originating-and-ending-at-the-same-node%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

          Why does my Macbook overheat and use so much CPU and energy when on YouTube?Why do so many insist on using...

          How to prevent page numbers from appearing on glossaries?How to remove a dot and a page number in the...

          Puerta de Hutt Referencias Enlaces externos Menú de navegación15°58′00″S 5°42′00″O /...