How to create two arrow breaks?











up vote
5
down vote

favorite












I'm trying to break a line in two places, to achieve something like this:



enter image description here



The example has rounded breaks but that's the idea. I have the following code, which generates only one break:



documentclass{article}

usepackage{tikz}
usetikzlibrary{automata,positioning,arrows,arrows.meta,shapes,decorations.pathreplacing,fit,calc}
usetikzlibrary{automata,positioning,arrows,shapes,decorations.pathreplacing,fit,calc}
usetikzlibrary{angles,quotes}
usetikzlibrary{decorations.pathreplacing,calc}

begin{document}

% Define block styles
tikzstyle{decision} = [diamond, draw,
text width=4.8em, text centered, node distance=2cm, inner sep=0pt]
tikzstyle{block} = [rectangle, draw,
text width=7em, text centered, rounded corners, minimum height=2em]
tikzstyle{arrow} = [draw, -latex']
tikzstyle{line} = [draw]
tikzstyle{invisible4} = [rectangle]
tikzstyle{invisible5} = [rectangle]
tikzstyle{circular} = [draw, circle, radius=1.0cm,]

begin{figure}[h]
centering
begin{tikzpicture}[node distance = 2cm, auto, scale=1.0]
node [block] (pulse) {small P};
node [invisible4, below of=pulse] (aux2) {};
node [block, left of=aux2] (fp) {small FP};
node [block, right of=aux2] (rp) {small FP};
node [circular, below of=aux2] (minus) {small -};
node [decision, below of=minus] (threshold) {small $le T$ ?};
node [invisible4, below of=threshold] (aux3) {};
node [block, left of=aux3] (fp2) {small FP};
node [block, right of=aux3] (rp2) {small RP};
node [invisible4, below of=aux3, node distance=1.0cm] (aux) {};
node [invisible5, draw=none, below of=aux, node distance=1.0cm] (aux4) {};

path [arrow] (pulse) |- (fp);
path [arrow] (pulse) |- (rp);
path [arrow] (fp) |- (minus);
path [arrow] (rp) |- (minus);
path [arrow] (minus) -- (threshold);
path [arrow] (threshold) -| node [above, near start] {yes} (fp2);
path [arrow] (threshold) -| node [near start] {no} (rp2);
path [line] (fp2) |- (aux);
path [line] (rp2) |- (aux);

end{tikzpicture}
end{figure}

end{document}


This code generates this figure:



enter image description here



I was trying to create the two breaks in the arrows connecting P and FP, P and RP, and an arrow from the bottom FP and RP connecting and pointing below. I've tried to create an auxiliary invisible node between, but this node still occupies space (which can be seen in the image, the gap between the lines).



How can I break these lines?



Thank you!










share|improve this question


























    up vote
    5
    down vote

    favorite












    I'm trying to break a line in two places, to achieve something like this:



    enter image description here



    The example has rounded breaks but that's the idea. I have the following code, which generates only one break:



    documentclass{article}

    usepackage{tikz}
    usetikzlibrary{automata,positioning,arrows,arrows.meta,shapes,decorations.pathreplacing,fit,calc}
    usetikzlibrary{automata,positioning,arrows,shapes,decorations.pathreplacing,fit,calc}
    usetikzlibrary{angles,quotes}
    usetikzlibrary{decorations.pathreplacing,calc}

    begin{document}

    % Define block styles
    tikzstyle{decision} = [diamond, draw,
    text width=4.8em, text centered, node distance=2cm, inner sep=0pt]
    tikzstyle{block} = [rectangle, draw,
    text width=7em, text centered, rounded corners, minimum height=2em]
    tikzstyle{arrow} = [draw, -latex']
    tikzstyle{line} = [draw]
    tikzstyle{invisible4} = [rectangle]
    tikzstyle{invisible5} = [rectangle]
    tikzstyle{circular} = [draw, circle, radius=1.0cm,]

    begin{figure}[h]
    centering
    begin{tikzpicture}[node distance = 2cm, auto, scale=1.0]
    node [block] (pulse) {small P};
    node [invisible4, below of=pulse] (aux2) {};
    node [block, left of=aux2] (fp) {small FP};
    node [block, right of=aux2] (rp) {small FP};
    node [circular, below of=aux2] (minus) {small -};
    node [decision, below of=minus] (threshold) {small $le T$ ?};
    node [invisible4, below of=threshold] (aux3) {};
    node [block, left of=aux3] (fp2) {small FP};
    node [block, right of=aux3] (rp2) {small RP};
    node [invisible4, below of=aux3, node distance=1.0cm] (aux) {};
    node [invisible5, draw=none, below of=aux, node distance=1.0cm] (aux4) {};

    path [arrow] (pulse) |- (fp);
    path [arrow] (pulse) |- (rp);
    path [arrow] (fp) |- (minus);
    path [arrow] (rp) |- (minus);
    path [arrow] (minus) -- (threshold);
    path [arrow] (threshold) -| node [above, near start] {yes} (fp2);
    path [arrow] (threshold) -| node [near start] {no} (rp2);
    path [line] (fp2) |- (aux);
    path [line] (rp2) |- (aux);

    end{tikzpicture}
    end{figure}

    end{document}


    This code generates this figure:



    enter image description here



    I was trying to create the two breaks in the arrows connecting P and FP, P and RP, and an arrow from the bottom FP and RP connecting and pointing below. I've tried to create an auxiliary invisible node between, but this node still occupies space (which can be seen in the image, the gap between the lines).



    How can I break these lines?



    Thank you!










    share|improve this question
























      up vote
      5
      down vote

      favorite









      up vote
      5
      down vote

      favorite











      I'm trying to break a line in two places, to achieve something like this:



      enter image description here



      The example has rounded breaks but that's the idea. I have the following code, which generates only one break:



      documentclass{article}

      usepackage{tikz}
      usetikzlibrary{automata,positioning,arrows,arrows.meta,shapes,decorations.pathreplacing,fit,calc}
      usetikzlibrary{automata,positioning,arrows,shapes,decorations.pathreplacing,fit,calc}
      usetikzlibrary{angles,quotes}
      usetikzlibrary{decorations.pathreplacing,calc}

      begin{document}

      % Define block styles
      tikzstyle{decision} = [diamond, draw,
      text width=4.8em, text centered, node distance=2cm, inner sep=0pt]
      tikzstyle{block} = [rectangle, draw,
      text width=7em, text centered, rounded corners, minimum height=2em]
      tikzstyle{arrow} = [draw, -latex']
      tikzstyle{line} = [draw]
      tikzstyle{invisible4} = [rectangle]
      tikzstyle{invisible5} = [rectangle]
      tikzstyle{circular} = [draw, circle, radius=1.0cm,]

      begin{figure}[h]
      centering
      begin{tikzpicture}[node distance = 2cm, auto, scale=1.0]
      node [block] (pulse) {small P};
      node [invisible4, below of=pulse] (aux2) {};
      node [block, left of=aux2] (fp) {small FP};
      node [block, right of=aux2] (rp) {small FP};
      node [circular, below of=aux2] (minus) {small -};
      node [decision, below of=minus] (threshold) {small $le T$ ?};
      node [invisible4, below of=threshold] (aux3) {};
      node [block, left of=aux3] (fp2) {small FP};
      node [block, right of=aux3] (rp2) {small RP};
      node [invisible4, below of=aux3, node distance=1.0cm] (aux) {};
      node [invisible5, draw=none, below of=aux, node distance=1.0cm] (aux4) {};

      path [arrow] (pulse) |- (fp);
      path [arrow] (pulse) |- (rp);
      path [arrow] (fp) |- (minus);
      path [arrow] (rp) |- (minus);
      path [arrow] (minus) -- (threshold);
      path [arrow] (threshold) -| node [above, near start] {yes} (fp2);
      path [arrow] (threshold) -| node [near start] {no} (rp2);
      path [line] (fp2) |- (aux);
      path [line] (rp2) |- (aux);

      end{tikzpicture}
      end{figure}

      end{document}


      This code generates this figure:



      enter image description here



      I was trying to create the two breaks in the arrows connecting P and FP, P and RP, and an arrow from the bottom FP and RP connecting and pointing below. I've tried to create an auxiliary invisible node between, but this node still occupies space (which can be seen in the image, the gap between the lines).



      How can I break these lines?



      Thank you!










      share|improve this question













      I'm trying to break a line in two places, to achieve something like this:



      enter image description here



      The example has rounded breaks but that's the idea. I have the following code, which generates only one break:



      documentclass{article}

      usepackage{tikz}
      usetikzlibrary{automata,positioning,arrows,arrows.meta,shapes,decorations.pathreplacing,fit,calc}
      usetikzlibrary{automata,positioning,arrows,shapes,decorations.pathreplacing,fit,calc}
      usetikzlibrary{angles,quotes}
      usetikzlibrary{decorations.pathreplacing,calc}

      begin{document}

      % Define block styles
      tikzstyle{decision} = [diamond, draw,
      text width=4.8em, text centered, node distance=2cm, inner sep=0pt]
      tikzstyle{block} = [rectangle, draw,
      text width=7em, text centered, rounded corners, minimum height=2em]
      tikzstyle{arrow} = [draw, -latex']
      tikzstyle{line} = [draw]
      tikzstyle{invisible4} = [rectangle]
      tikzstyle{invisible5} = [rectangle]
      tikzstyle{circular} = [draw, circle, radius=1.0cm,]

      begin{figure}[h]
      centering
      begin{tikzpicture}[node distance = 2cm, auto, scale=1.0]
      node [block] (pulse) {small P};
      node [invisible4, below of=pulse] (aux2) {};
      node [block, left of=aux2] (fp) {small FP};
      node [block, right of=aux2] (rp) {small FP};
      node [circular, below of=aux2] (minus) {small -};
      node [decision, below of=minus] (threshold) {small $le T$ ?};
      node [invisible4, below of=threshold] (aux3) {};
      node [block, left of=aux3] (fp2) {small FP};
      node [block, right of=aux3] (rp2) {small RP};
      node [invisible4, below of=aux3, node distance=1.0cm] (aux) {};
      node [invisible5, draw=none, below of=aux, node distance=1.0cm] (aux4) {};

      path [arrow] (pulse) |- (fp);
      path [arrow] (pulse) |- (rp);
      path [arrow] (fp) |- (minus);
      path [arrow] (rp) |- (minus);
      path [arrow] (minus) -- (threshold);
      path [arrow] (threshold) -| node [above, near start] {yes} (fp2);
      path [arrow] (threshold) -| node [near start] {no} (rp2);
      path [line] (fp2) |- (aux);
      path [line] (rp2) |- (aux);

      end{tikzpicture}
      end{figure}

      end{document}


      This code generates this figure:



      enter image description here



      I was trying to create the two breaks in the arrows connecting P and FP, P and RP, and an arrow from the bottom FP and RP connecting and pointing below. I've tried to create an auxiliary invisible node between, but this node still occupies space (which can be seen in the image, the gap between the lines).



      How can I break these lines?



      Thank you!







      tikz-pgf tikz-arrows






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 2 days ago









      Hel

      14218




      14218






















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          5
          down vote



          accepted










          Choose a point in the middle and 'break' again. Use rounded corners option if you don't want the sharp corners.



          enter image description here



          documentclass{article}
          usepackage{tikz}
          usetikzlibrary{shapes,calc,arrows}

          begin{document}
          % Define block styles
          tikzstyle{decision} = [diamond, draw,
          text width=4.8em, text centered, node distance=2cm, inner sep=0pt]
          tikzstyle{block} = [rectangle, draw,
          text width=7em, text centered, rounded corners, minimum height=2em]
          tikzstyle{arrow} = [draw, -latex',rounded corners]
          tikzstyle{line} = [draw]
          tikzstyle{invisible4} = [rectangle]
          tikzstyle{invisible5} = [rectangle]
          tikzstyle{circular} = [draw, circle, radius=1.0cm,]

          begin{figure}[h]
          centering
          begin{tikzpicture}[node distance = 2cm, auto, scale=1.0]
          node [block] (pulse) {small P};
          node [invisible4, below of=pulse] (aux2) {};
          node [block, left of=aux2] (fp) {small FP};
          node [block, right of=aux2] (rp) {small FP};
          node [circular, below of=aux2] (minus) {small -};
          node [decision, below of=minus] (threshold) {small $le T$ ?};
          node [invisible4, below of=threshold] (aux3) {};
          node [block, left of=aux3] (fp2) {small FP};
          node [block, right of=aux3] (rp2) {small RP};
          node [invisible4, below of=aux3, node distance=1.0cm] (aux) {};
          node [invisible5, draw=none, below of=aux, node distance=1.0cm] (aux4) {};

          path [arrow] (pulse) |- ($(pulse)+(0,-1)$) -| (fp);
          path [arrow] (pulse) |- ($(pulse)+(0,-1)$) -| (rp);
          path [arrow] (fp) |- (minus);
          path [arrow] (rp) |- (minus);
          path [arrow] (minus) -- (threshold);
          path [arrow] (threshold) -| node [above, near start] {yes} (fp2);
          path [arrow] (threshold) -| node [near start] {no} (rp2);
          path [line] (fp2) |- (aux);
          path [line] (rp2) |- (aux);

          end{tikzpicture}
          end{figure}

          end{document}





          share|improve this answer























          • That's literally the code I posted... Am I missing something?
            – Hel
            2 days ago










          • @Hel. See the line where paths are drawn from (pulse) to (fp) and (rp)
            – nidhin
            2 days ago










          • @Hel. Also removed few tikz libraries which are needed for this code to run.
            – nidhin
            2 days ago










          • thank you! I must be blind, I was looking at the bottom arrow and didn't even notice the top one. Thank you so much, that's exactly what I wanted. I've managed to fix the other as well. I copied them from the original doc, which has a lot of images, they're necessary for the others. Thank you again!
            – Hel
            2 days 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',
          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%2f461790%2fhow-to-create-two-arrow-breaks%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








          up vote
          5
          down vote



          accepted










          Choose a point in the middle and 'break' again. Use rounded corners option if you don't want the sharp corners.



          enter image description here



          documentclass{article}
          usepackage{tikz}
          usetikzlibrary{shapes,calc,arrows}

          begin{document}
          % Define block styles
          tikzstyle{decision} = [diamond, draw,
          text width=4.8em, text centered, node distance=2cm, inner sep=0pt]
          tikzstyle{block} = [rectangle, draw,
          text width=7em, text centered, rounded corners, minimum height=2em]
          tikzstyle{arrow} = [draw, -latex',rounded corners]
          tikzstyle{line} = [draw]
          tikzstyle{invisible4} = [rectangle]
          tikzstyle{invisible5} = [rectangle]
          tikzstyle{circular} = [draw, circle, radius=1.0cm,]

          begin{figure}[h]
          centering
          begin{tikzpicture}[node distance = 2cm, auto, scale=1.0]
          node [block] (pulse) {small P};
          node [invisible4, below of=pulse] (aux2) {};
          node [block, left of=aux2] (fp) {small FP};
          node [block, right of=aux2] (rp) {small FP};
          node [circular, below of=aux2] (minus) {small -};
          node [decision, below of=minus] (threshold) {small $le T$ ?};
          node [invisible4, below of=threshold] (aux3) {};
          node [block, left of=aux3] (fp2) {small FP};
          node [block, right of=aux3] (rp2) {small RP};
          node [invisible4, below of=aux3, node distance=1.0cm] (aux) {};
          node [invisible5, draw=none, below of=aux, node distance=1.0cm] (aux4) {};

          path [arrow] (pulse) |- ($(pulse)+(0,-1)$) -| (fp);
          path [arrow] (pulse) |- ($(pulse)+(0,-1)$) -| (rp);
          path [arrow] (fp) |- (minus);
          path [arrow] (rp) |- (minus);
          path [arrow] (minus) -- (threshold);
          path [arrow] (threshold) -| node [above, near start] {yes} (fp2);
          path [arrow] (threshold) -| node [near start] {no} (rp2);
          path [line] (fp2) |- (aux);
          path [line] (rp2) |- (aux);

          end{tikzpicture}
          end{figure}

          end{document}





          share|improve this answer























          • That's literally the code I posted... Am I missing something?
            – Hel
            2 days ago










          • @Hel. See the line where paths are drawn from (pulse) to (fp) and (rp)
            – nidhin
            2 days ago










          • @Hel. Also removed few tikz libraries which are needed for this code to run.
            – nidhin
            2 days ago










          • thank you! I must be blind, I was looking at the bottom arrow and didn't even notice the top one. Thank you so much, that's exactly what I wanted. I've managed to fix the other as well. I copied them from the original doc, which has a lot of images, they're necessary for the others. Thank you again!
            – Hel
            2 days ago















          up vote
          5
          down vote



          accepted










          Choose a point in the middle and 'break' again. Use rounded corners option if you don't want the sharp corners.



          enter image description here



          documentclass{article}
          usepackage{tikz}
          usetikzlibrary{shapes,calc,arrows}

          begin{document}
          % Define block styles
          tikzstyle{decision} = [diamond, draw,
          text width=4.8em, text centered, node distance=2cm, inner sep=0pt]
          tikzstyle{block} = [rectangle, draw,
          text width=7em, text centered, rounded corners, minimum height=2em]
          tikzstyle{arrow} = [draw, -latex',rounded corners]
          tikzstyle{line} = [draw]
          tikzstyle{invisible4} = [rectangle]
          tikzstyle{invisible5} = [rectangle]
          tikzstyle{circular} = [draw, circle, radius=1.0cm,]

          begin{figure}[h]
          centering
          begin{tikzpicture}[node distance = 2cm, auto, scale=1.0]
          node [block] (pulse) {small P};
          node [invisible4, below of=pulse] (aux2) {};
          node [block, left of=aux2] (fp) {small FP};
          node [block, right of=aux2] (rp) {small FP};
          node [circular, below of=aux2] (minus) {small -};
          node [decision, below of=minus] (threshold) {small $le T$ ?};
          node [invisible4, below of=threshold] (aux3) {};
          node [block, left of=aux3] (fp2) {small FP};
          node [block, right of=aux3] (rp2) {small RP};
          node [invisible4, below of=aux3, node distance=1.0cm] (aux) {};
          node [invisible5, draw=none, below of=aux, node distance=1.0cm] (aux4) {};

          path [arrow] (pulse) |- ($(pulse)+(0,-1)$) -| (fp);
          path [arrow] (pulse) |- ($(pulse)+(0,-1)$) -| (rp);
          path [arrow] (fp) |- (minus);
          path [arrow] (rp) |- (minus);
          path [arrow] (minus) -- (threshold);
          path [arrow] (threshold) -| node [above, near start] {yes} (fp2);
          path [arrow] (threshold) -| node [near start] {no} (rp2);
          path [line] (fp2) |- (aux);
          path [line] (rp2) |- (aux);

          end{tikzpicture}
          end{figure}

          end{document}





          share|improve this answer























          • That's literally the code I posted... Am I missing something?
            – Hel
            2 days ago










          • @Hel. See the line where paths are drawn from (pulse) to (fp) and (rp)
            – nidhin
            2 days ago










          • @Hel. Also removed few tikz libraries which are needed for this code to run.
            – nidhin
            2 days ago










          • thank you! I must be blind, I was looking at the bottom arrow and didn't even notice the top one. Thank you so much, that's exactly what I wanted. I've managed to fix the other as well. I copied them from the original doc, which has a lot of images, they're necessary for the others. Thank you again!
            – Hel
            2 days ago













          up vote
          5
          down vote



          accepted







          up vote
          5
          down vote



          accepted






          Choose a point in the middle and 'break' again. Use rounded corners option if you don't want the sharp corners.



          enter image description here



          documentclass{article}
          usepackage{tikz}
          usetikzlibrary{shapes,calc,arrows}

          begin{document}
          % Define block styles
          tikzstyle{decision} = [diamond, draw,
          text width=4.8em, text centered, node distance=2cm, inner sep=0pt]
          tikzstyle{block} = [rectangle, draw,
          text width=7em, text centered, rounded corners, minimum height=2em]
          tikzstyle{arrow} = [draw, -latex',rounded corners]
          tikzstyle{line} = [draw]
          tikzstyle{invisible4} = [rectangle]
          tikzstyle{invisible5} = [rectangle]
          tikzstyle{circular} = [draw, circle, radius=1.0cm,]

          begin{figure}[h]
          centering
          begin{tikzpicture}[node distance = 2cm, auto, scale=1.0]
          node [block] (pulse) {small P};
          node [invisible4, below of=pulse] (aux2) {};
          node [block, left of=aux2] (fp) {small FP};
          node [block, right of=aux2] (rp) {small FP};
          node [circular, below of=aux2] (minus) {small -};
          node [decision, below of=minus] (threshold) {small $le T$ ?};
          node [invisible4, below of=threshold] (aux3) {};
          node [block, left of=aux3] (fp2) {small FP};
          node [block, right of=aux3] (rp2) {small RP};
          node [invisible4, below of=aux3, node distance=1.0cm] (aux) {};
          node [invisible5, draw=none, below of=aux, node distance=1.0cm] (aux4) {};

          path [arrow] (pulse) |- ($(pulse)+(0,-1)$) -| (fp);
          path [arrow] (pulse) |- ($(pulse)+(0,-1)$) -| (rp);
          path [arrow] (fp) |- (minus);
          path [arrow] (rp) |- (minus);
          path [arrow] (minus) -- (threshold);
          path [arrow] (threshold) -| node [above, near start] {yes} (fp2);
          path [arrow] (threshold) -| node [near start] {no} (rp2);
          path [line] (fp2) |- (aux);
          path [line] (rp2) |- (aux);

          end{tikzpicture}
          end{figure}

          end{document}





          share|improve this answer














          Choose a point in the middle and 'break' again. Use rounded corners option if you don't want the sharp corners.



          enter image description here



          documentclass{article}
          usepackage{tikz}
          usetikzlibrary{shapes,calc,arrows}

          begin{document}
          % Define block styles
          tikzstyle{decision} = [diamond, draw,
          text width=4.8em, text centered, node distance=2cm, inner sep=0pt]
          tikzstyle{block} = [rectangle, draw,
          text width=7em, text centered, rounded corners, minimum height=2em]
          tikzstyle{arrow} = [draw, -latex',rounded corners]
          tikzstyle{line} = [draw]
          tikzstyle{invisible4} = [rectangle]
          tikzstyle{invisible5} = [rectangle]
          tikzstyle{circular} = [draw, circle, radius=1.0cm,]

          begin{figure}[h]
          centering
          begin{tikzpicture}[node distance = 2cm, auto, scale=1.0]
          node [block] (pulse) {small P};
          node [invisible4, below of=pulse] (aux2) {};
          node [block, left of=aux2] (fp) {small FP};
          node [block, right of=aux2] (rp) {small FP};
          node [circular, below of=aux2] (minus) {small -};
          node [decision, below of=minus] (threshold) {small $le T$ ?};
          node [invisible4, below of=threshold] (aux3) {};
          node [block, left of=aux3] (fp2) {small FP};
          node [block, right of=aux3] (rp2) {small RP};
          node [invisible4, below of=aux3, node distance=1.0cm] (aux) {};
          node [invisible5, draw=none, below of=aux, node distance=1.0cm] (aux4) {};

          path [arrow] (pulse) |- ($(pulse)+(0,-1)$) -| (fp);
          path [arrow] (pulse) |- ($(pulse)+(0,-1)$) -| (rp);
          path [arrow] (fp) |- (minus);
          path [arrow] (rp) |- (minus);
          path [arrow] (minus) -- (threshold);
          path [arrow] (threshold) -| node [above, near start] {yes} (fp2);
          path [arrow] (threshold) -| node [near start] {no} (rp2);
          path [line] (fp2) |- (aux);
          path [line] (rp2) |- (aux);

          end{tikzpicture}
          end{figure}

          end{document}






          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited 2 days ago

























          answered 2 days ago









          nidhin

          1,927922




          1,927922












          • That's literally the code I posted... Am I missing something?
            – Hel
            2 days ago










          • @Hel. See the line where paths are drawn from (pulse) to (fp) and (rp)
            – nidhin
            2 days ago










          • @Hel. Also removed few tikz libraries which are needed for this code to run.
            – nidhin
            2 days ago










          • thank you! I must be blind, I was looking at the bottom arrow and didn't even notice the top one. Thank you so much, that's exactly what I wanted. I've managed to fix the other as well. I copied them from the original doc, which has a lot of images, they're necessary for the others. Thank you again!
            – Hel
            2 days ago


















          • That's literally the code I posted... Am I missing something?
            – Hel
            2 days ago










          • @Hel. See the line where paths are drawn from (pulse) to (fp) and (rp)
            – nidhin
            2 days ago










          • @Hel. Also removed few tikz libraries which are needed for this code to run.
            – nidhin
            2 days ago










          • thank you! I must be blind, I was looking at the bottom arrow and didn't even notice the top one. Thank you so much, that's exactly what I wanted. I've managed to fix the other as well. I copied them from the original doc, which has a lot of images, they're necessary for the others. Thank you again!
            – Hel
            2 days ago
















          That's literally the code I posted... Am I missing something?
          – Hel
          2 days ago




          That's literally the code I posted... Am I missing something?
          – Hel
          2 days ago












          @Hel. See the line where paths are drawn from (pulse) to (fp) and (rp)
          – nidhin
          2 days ago




          @Hel. See the line where paths are drawn from (pulse) to (fp) and (rp)
          – nidhin
          2 days ago












          @Hel. Also removed few tikz libraries which are needed for this code to run.
          – nidhin
          2 days ago




          @Hel. Also removed few tikz libraries which are needed for this code to run.
          – nidhin
          2 days ago












          thank you! I must be blind, I was looking at the bottom arrow and didn't even notice the top one. Thank you so much, that's exactly what I wanted. I've managed to fix the other as well. I copied them from the original doc, which has a lot of images, they're necessary for the others. Thank you again!
          – Hel
          2 days ago




          thank you! I must be blind, I was looking at the bottom arrow and didn't even notice the top one. Thank you so much, that's exactly what I wanted. I've managed to fix the other as well. I copied them from the original doc, which has a lot of images, they're necessary for the others. Thank you again!
          – Hel
          2 days ago


















           

          draft saved


          draft discarded



















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f461790%2fhow-to-create-two-arrow-breaks%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

          "Incorrect syntax near the keyword 'ON'. (on update cascade, on delete cascade,)

          Alcedinidae

          Origin of the phrase “under your belt”?