Tikz: How to create arrow with two corners?












5














My problem is very similar to this question. However, I'm unable to use this solution in my figure.



I want to connect two nodes with an arrow which has two corners. Here is my code:



documentclass[12pt]{article}
usepackage{setspace,amsmath,graphicx,float}
usepackage[english]{babel}
usepackage[natbibapa]{apacite}
usepackage{times}
usepackage{tikz}
usetikzlibrary{shapes,arrows,arrows.meta,positioning,calc}
begin{document}
begin{figure}[H]
centering
tikzstyle{block} = [draw, rectangle, minimum height=5.5em, minimum width=19em]
tikzstyle{smallblock} = [draw, rectangle, minimum height=5.5em, minimum width=9em]
tikzstyle{input} = [coordinate]
tikzstyle{output} = [coordinate]
tikzstyle{pinstyle} = [pin edge={to-,thin,black}]
begin{tikzpicture}[auto,node distance=7cm,>=latex',align=center]
node [input, name=input] {};
node [block, rounded corners=5pt, right of=input] (A) {Start with the narrowest product\ or geographic market definition.};
node [block, rounded corners=5pt, below of=A, node distance=3.5cm] (B) {Is it profitable for a monopoly producer of\ that product to increase prices in a small but\ significant and nontransitory way?};
node [block, rounded corners=5pt, below of=B, node distance=3.5cm] (C) {There must be at least one good substitute\ excluded from the current market definition.\ Expand the market to include it.};
node [block, rounded corners=5pt, below of=C, node distance=3.5cm] (D) {Now have a multiproduct monopolist.\ Could he profitably raise prices?};
node [smallblock, rounded corners=5pt, right of=D, node distance=8cm] (E) {Stop.\ Market definition\ is wide enough.};
draw [-{Latex[length=3mm]}] (A) -- node[auto][name=1] [right]{} (B);
draw [-{Latex[length=3mm]}] (B) -- node[auto][name=2] [right]{No} (C);
draw [-{Latex[length=3mm]}] (C) -- node[auto][name=3] [right]{} (D);
draw [-{Latex[length=3mm]}] (D) -- node[auto][name=4] [above]{Yes} (E);
draw [-{Latex[length=3mm]}] (B) -| node[near start][name=5] [above]{Yes} (E);
draw [-{Latex[length=3mm]}] (D) -- +(0,1)|- node[auto][name=6] [left]{No} (C);
end{tikzpicture}
caption[Illustration of an HMT decision tree]{Illustration of an HMT decision tree citep{QuantTech}.}label{AlgorithmHMT}
end{figure}
end{document}


I want to connect block D with C (see the last draw), but the code -- +(0,1)|- node (as in the other question) does not work. I tried to alter it of course, but I'm not really making progress.



Can anyone please help?










share|improve this question




















  • 1




    See this question tex.stackexchange.com/questions/55068/…
    – percusse
    Dec 28 '16 at 14:52
















5














My problem is very similar to this question. However, I'm unable to use this solution in my figure.



I want to connect two nodes with an arrow which has two corners. Here is my code:



documentclass[12pt]{article}
usepackage{setspace,amsmath,graphicx,float}
usepackage[english]{babel}
usepackage[natbibapa]{apacite}
usepackage{times}
usepackage{tikz}
usetikzlibrary{shapes,arrows,arrows.meta,positioning,calc}
begin{document}
begin{figure}[H]
centering
tikzstyle{block} = [draw, rectangle, minimum height=5.5em, minimum width=19em]
tikzstyle{smallblock} = [draw, rectangle, minimum height=5.5em, minimum width=9em]
tikzstyle{input} = [coordinate]
tikzstyle{output} = [coordinate]
tikzstyle{pinstyle} = [pin edge={to-,thin,black}]
begin{tikzpicture}[auto,node distance=7cm,>=latex',align=center]
node [input, name=input] {};
node [block, rounded corners=5pt, right of=input] (A) {Start with the narrowest product\ or geographic market definition.};
node [block, rounded corners=5pt, below of=A, node distance=3.5cm] (B) {Is it profitable for a monopoly producer of\ that product to increase prices in a small but\ significant and nontransitory way?};
node [block, rounded corners=5pt, below of=B, node distance=3.5cm] (C) {There must be at least one good substitute\ excluded from the current market definition.\ Expand the market to include it.};
node [block, rounded corners=5pt, below of=C, node distance=3.5cm] (D) {Now have a multiproduct monopolist.\ Could he profitably raise prices?};
node [smallblock, rounded corners=5pt, right of=D, node distance=8cm] (E) {Stop.\ Market definition\ is wide enough.};
draw [-{Latex[length=3mm]}] (A) -- node[auto][name=1] [right]{} (B);
draw [-{Latex[length=3mm]}] (B) -- node[auto][name=2] [right]{No} (C);
draw [-{Latex[length=3mm]}] (C) -- node[auto][name=3] [right]{} (D);
draw [-{Latex[length=3mm]}] (D) -- node[auto][name=4] [above]{Yes} (E);
draw [-{Latex[length=3mm]}] (B) -| node[near start][name=5] [above]{Yes} (E);
draw [-{Latex[length=3mm]}] (D) -- +(0,1)|- node[auto][name=6] [left]{No} (C);
end{tikzpicture}
caption[Illustration of an HMT decision tree]{Illustration of an HMT decision tree citep{QuantTech}.}label{AlgorithmHMT}
end{figure}
end{document}


I want to connect block D with C (see the last draw), but the code -- +(0,1)|- node (as in the other question) does not work. I tried to alter it of course, but I'm not really making progress.



Can anyone please help?










share|improve this question




















  • 1




    See this question tex.stackexchange.com/questions/55068/…
    – percusse
    Dec 28 '16 at 14:52














5












5








5


2





My problem is very similar to this question. However, I'm unable to use this solution in my figure.



I want to connect two nodes with an arrow which has two corners. Here is my code:



documentclass[12pt]{article}
usepackage{setspace,amsmath,graphicx,float}
usepackage[english]{babel}
usepackage[natbibapa]{apacite}
usepackage{times}
usepackage{tikz}
usetikzlibrary{shapes,arrows,arrows.meta,positioning,calc}
begin{document}
begin{figure}[H]
centering
tikzstyle{block} = [draw, rectangle, minimum height=5.5em, minimum width=19em]
tikzstyle{smallblock} = [draw, rectangle, minimum height=5.5em, minimum width=9em]
tikzstyle{input} = [coordinate]
tikzstyle{output} = [coordinate]
tikzstyle{pinstyle} = [pin edge={to-,thin,black}]
begin{tikzpicture}[auto,node distance=7cm,>=latex',align=center]
node [input, name=input] {};
node [block, rounded corners=5pt, right of=input] (A) {Start with the narrowest product\ or geographic market definition.};
node [block, rounded corners=5pt, below of=A, node distance=3.5cm] (B) {Is it profitable for a monopoly producer of\ that product to increase prices in a small but\ significant and nontransitory way?};
node [block, rounded corners=5pt, below of=B, node distance=3.5cm] (C) {There must be at least one good substitute\ excluded from the current market definition.\ Expand the market to include it.};
node [block, rounded corners=5pt, below of=C, node distance=3.5cm] (D) {Now have a multiproduct monopolist.\ Could he profitably raise prices?};
node [smallblock, rounded corners=5pt, right of=D, node distance=8cm] (E) {Stop.\ Market definition\ is wide enough.};
draw [-{Latex[length=3mm]}] (A) -- node[auto][name=1] [right]{} (B);
draw [-{Latex[length=3mm]}] (B) -- node[auto][name=2] [right]{No} (C);
draw [-{Latex[length=3mm]}] (C) -- node[auto][name=3] [right]{} (D);
draw [-{Latex[length=3mm]}] (D) -- node[auto][name=4] [above]{Yes} (E);
draw [-{Latex[length=3mm]}] (B) -| node[near start][name=5] [above]{Yes} (E);
draw [-{Latex[length=3mm]}] (D) -- +(0,1)|- node[auto][name=6] [left]{No} (C);
end{tikzpicture}
caption[Illustration of an HMT decision tree]{Illustration of an HMT decision tree citep{QuantTech}.}label{AlgorithmHMT}
end{figure}
end{document}


I want to connect block D with C (see the last draw), but the code -- +(0,1)|- node (as in the other question) does not work. I tried to alter it of course, but I'm not really making progress.



Can anyone please help?










share|improve this question















My problem is very similar to this question. However, I'm unable to use this solution in my figure.



I want to connect two nodes with an arrow which has two corners. Here is my code:



documentclass[12pt]{article}
usepackage{setspace,amsmath,graphicx,float}
usepackage[english]{babel}
usepackage[natbibapa]{apacite}
usepackage{times}
usepackage{tikz}
usetikzlibrary{shapes,arrows,arrows.meta,positioning,calc}
begin{document}
begin{figure}[H]
centering
tikzstyle{block} = [draw, rectangle, minimum height=5.5em, minimum width=19em]
tikzstyle{smallblock} = [draw, rectangle, minimum height=5.5em, minimum width=9em]
tikzstyle{input} = [coordinate]
tikzstyle{output} = [coordinate]
tikzstyle{pinstyle} = [pin edge={to-,thin,black}]
begin{tikzpicture}[auto,node distance=7cm,>=latex',align=center]
node [input, name=input] {};
node [block, rounded corners=5pt, right of=input] (A) {Start with the narrowest product\ or geographic market definition.};
node [block, rounded corners=5pt, below of=A, node distance=3.5cm] (B) {Is it profitable for a monopoly producer of\ that product to increase prices in a small but\ significant and nontransitory way?};
node [block, rounded corners=5pt, below of=B, node distance=3.5cm] (C) {There must be at least one good substitute\ excluded from the current market definition.\ Expand the market to include it.};
node [block, rounded corners=5pt, below of=C, node distance=3.5cm] (D) {Now have a multiproduct monopolist.\ Could he profitably raise prices?};
node [smallblock, rounded corners=5pt, right of=D, node distance=8cm] (E) {Stop.\ Market definition\ is wide enough.};
draw [-{Latex[length=3mm]}] (A) -- node[auto][name=1] [right]{} (B);
draw [-{Latex[length=3mm]}] (B) -- node[auto][name=2] [right]{No} (C);
draw [-{Latex[length=3mm]}] (C) -- node[auto][name=3] [right]{} (D);
draw [-{Latex[length=3mm]}] (D) -- node[auto][name=4] [above]{Yes} (E);
draw [-{Latex[length=3mm]}] (B) -| node[near start][name=5] [above]{Yes} (E);
draw [-{Latex[length=3mm]}] (D) -- +(0,1)|- node[auto][name=6] [left]{No} (C);
end{tikzpicture}
caption[Illustration of an HMT decision tree]{Illustration of an HMT decision tree citep{QuantTech}.}label{AlgorithmHMT}
end{figure}
end{document}


I want to connect block D with C (see the last draw), but the code -- +(0,1)|- node (as in the other question) does not work. I tried to alter it of course, but I'm not really making progress.



Can anyone please help?







tikz-arrows






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Apr 13 '17 at 12:34









Community

1




1










asked Dec 28 '16 at 14:28









Malganas

158112




158112








  • 1




    See this question tex.stackexchange.com/questions/55068/…
    – percusse
    Dec 28 '16 at 14:52














  • 1




    See this question tex.stackexchange.com/questions/55068/…
    – percusse
    Dec 28 '16 at 14:52








1




1




See this question tex.stackexchange.com/questions/55068/…
– percusse
Dec 28 '16 at 14:52




See this question tex.stackexchange.com/questions/55068/…
– percusse
Dec 28 '16 at 14:52










1 Answer
1






active

oldest

votes


















4














Like this?



enter image description here



(I guess that you like to have something like the above picture)



I rewrote your MWE significantly




  • deprecated tikzstyle{<name>} = [...] I replace with options of tikzpicture as <name>/.style = {....} (see MWE below)

  • with tikzlibrary{positioning} the correct syntax is for example left=of <node name>

  • for node distance I consider positioning again and define node distance = <vertical> and <horizontal>. for distance I select far smaller lengths than you (otherwise the picture is out of page)

  • for relative positioning with + you need explicit to define anchor of node: (D.west) -- + (-1,0).


Complete MWE:



documentclass[12pt]{article}
usepackage{setspace,amsmath,graphicx,float}
usepackage[english]{babel}
usepackage[natbibapa]{apacite}
usepackage{times}
usepackage{tikz}
usetikzlibrary{arrows, arrows.meta, calc, positioning, quotes, shapes}

begin{document}
begin{figure}
centering
begin{tikzpicture}[
auto,
node distance = 11mm and 22mm,
base/.style = {draw, rounded corners=5pt, minimum height=5.5em,
align=center},
block/.style = {base, minimum width=19em},
smallblock/.style = {base, minimum width=9em},
]
coordinate (in);
node [block,right=of in] (A) {Start with the narrowest product\
or geographic market definition.};
node [block,below=of A ] (B) {Is it profitable for a monopoly producer of\
that product to increase prices in a small but\
significant and nontransitory way?};
node [block,below=of B ] (C) {There must be at least one good substitute\
excluded from the current market definition.\
Expand the market to include it.};
node [block,below=of C ] (D) {Now have a multiproduct monopolist.\
Could he profitably raise prices?};
node [smallblock,right=of D] (E) {Stop.\
Market definition\
is wide enough.};
draw [-{Latex[length=3mm]}]
(A) edge (B)
(B) edge ["No"] (C)
(C) edge (D)
(D) edge ["Yes"] (E);
draw [-{Latex[length=3mm]}]
(B) -| node[pos=0.25,name=5] {Yes} (E);
draw [-{Latex[length=3mm]}]
(D.west) -- +(-1,0) |- node[pos=0.25] {No} (C);
end{tikzpicture}
caption[Illustration of an HMT decision tree]
{Illustration of an HMT decision tree citep{QuantTech}.}
label{AlgorithmHMT}
end{figure}
end{document}





share|improve this answer























  • Thank you so much @Zarko! That's exactly what I wanted and I'm glad that I have a working sample of a pro. I picked my code up from various sources and I knew it was amateurishly done. Now I finally have something to analyse how it is done correctly.
    – Malganas
    Dec 28 '16 at 15:57











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%2f346041%2ftikz-how-to-create-arrow-with-two-corners%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









4














Like this?



enter image description here



(I guess that you like to have something like the above picture)



I rewrote your MWE significantly




  • deprecated tikzstyle{<name>} = [...] I replace with options of tikzpicture as <name>/.style = {....} (see MWE below)

  • with tikzlibrary{positioning} the correct syntax is for example left=of <node name>

  • for node distance I consider positioning again and define node distance = <vertical> and <horizontal>. for distance I select far smaller lengths than you (otherwise the picture is out of page)

  • for relative positioning with + you need explicit to define anchor of node: (D.west) -- + (-1,0).


Complete MWE:



documentclass[12pt]{article}
usepackage{setspace,amsmath,graphicx,float}
usepackage[english]{babel}
usepackage[natbibapa]{apacite}
usepackage{times}
usepackage{tikz}
usetikzlibrary{arrows, arrows.meta, calc, positioning, quotes, shapes}

begin{document}
begin{figure}
centering
begin{tikzpicture}[
auto,
node distance = 11mm and 22mm,
base/.style = {draw, rounded corners=5pt, minimum height=5.5em,
align=center},
block/.style = {base, minimum width=19em},
smallblock/.style = {base, minimum width=9em},
]
coordinate (in);
node [block,right=of in] (A) {Start with the narrowest product\
or geographic market definition.};
node [block,below=of A ] (B) {Is it profitable for a monopoly producer of\
that product to increase prices in a small but\
significant and nontransitory way?};
node [block,below=of B ] (C) {There must be at least one good substitute\
excluded from the current market definition.\
Expand the market to include it.};
node [block,below=of C ] (D) {Now have a multiproduct monopolist.\
Could he profitably raise prices?};
node [smallblock,right=of D] (E) {Stop.\
Market definition\
is wide enough.};
draw [-{Latex[length=3mm]}]
(A) edge (B)
(B) edge ["No"] (C)
(C) edge (D)
(D) edge ["Yes"] (E);
draw [-{Latex[length=3mm]}]
(B) -| node[pos=0.25,name=5] {Yes} (E);
draw [-{Latex[length=3mm]}]
(D.west) -- +(-1,0) |- node[pos=0.25] {No} (C);
end{tikzpicture}
caption[Illustration of an HMT decision tree]
{Illustration of an HMT decision tree citep{QuantTech}.}
label{AlgorithmHMT}
end{figure}
end{document}





share|improve this answer























  • Thank you so much @Zarko! That's exactly what I wanted and I'm glad that I have a working sample of a pro. I picked my code up from various sources and I knew it was amateurishly done. Now I finally have something to analyse how it is done correctly.
    – Malganas
    Dec 28 '16 at 15:57
















4














Like this?



enter image description here



(I guess that you like to have something like the above picture)



I rewrote your MWE significantly




  • deprecated tikzstyle{<name>} = [...] I replace with options of tikzpicture as <name>/.style = {....} (see MWE below)

  • with tikzlibrary{positioning} the correct syntax is for example left=of <node name>

  • for node distance I consider positioning again and define node distance = <vertical> and <horizontal>. for distance I select far smaller lengths than you (otherwise the picture is out of page)

  • for relative positioning with + you need explicit to define anchor of node: (D.west) -- + (-1,0).


Complete MWE:



documentclass[12pt]{article}
usepackage{setspace,amsmath,graphicx,float}
usepackage[english]{babel}
usepackage[natbibapa]{apacite}
usepackage{times}
usepackage{tikz}
usetikzlibrary{arrows, arrows.meta, calc, positioning, quotes, shapes}

begin{document}
begin{figure}
centering
begin{tikzpicture}[
auto,
node distance = 11mm and 22mm,
base/.style = {draw, rounded corners=5pt, minimum height=5.5em,
align=center},
block/.style = {base, minimum width=19em},
smallblock/.style = {base, minimum width=9em},
]
coordinate (in);
node [block,right=of in] (A) {Start with the narrowest product\
or geographic market definition.};
node [block,below=of A ] (B) {Is it profitable for a monopoly producer of\
that product to increase prices in a small but\
significant and nontransitory way?};
node [block,below=of B ] (C) {There must be at least one good substitute\
excluded from the current market definition.\
Expand the market to include it.};
node [block,below=of C ] (D) {Now have a multiproduct monopolist.\
Could he profitably raise prices?};
node [smallblock,right=of D] (E) {Stop.\
Market definition\
is wide enough.};
draw [-{Latex[length=3mm]}]
(A) edge (B)
(B) edge ["No"] (C)
(C) edge (D)
(D) edge ["Yes"] (E);
draw [-{Latex[length=3mm]}]
(B) -| node[pos=0.25,name=5] {Yes} (E);
draw [-{Latex[length=3mm]}]
(D.west) -- +(-1,0) |- node[pos=0.25] {No} (C);
end{tikzpicture}
caption[Illustration of an HMT decision tree]
{Illustration of an HMT decision tree citep{QuantTech}.}
label{AlgorithmHMT}
end{figure}
end{document}





share|improve this answer























  • Thank you so much @Zarko! That's exactly what I wanted and I'm glad that I have a working sample of a pro. I picked my code up from various sources and I knew it was amateurishly done. Now I finally have something to analyse how it is done correctly.
    – Malganas
    Dec 28 '16 at 15:57














4












4








4






Like this?



enter image description here



(I guess that you like to have something like the above picture)



I rewrote your MWE significantly




  • deprecated tikzstyle{<name>} = [...] I replace with options of tikzpicture as <name>/.style = {....} (see MWE below)

  • with tikzlibrary{positioning} the correct syntax is for example left=of <node name>

  • for node distance I consider positioning again and define node distance = <vertical> and <horizontal>. for distance I select far smaller lengths than you (otherwise the picture is out of page)

  • for relative positioning with + you need explicit to define anchor of node: (D.west) -- + (-1,0).


Complete MWE:



documentclass[12pt]{article}
usepackage{setspace,amsmath,graphicx,float}
usepackage[english]{babel}
usepackage[natbibapa]{apacite}
usepackage{times}
usepackage{tikz}
usetikzlibrary{arrows, arrows.meta, calc, positioning, quotes, shapes}

begin{document}
begin{figure}
centering
begin{tikzpicture}[
auto,
node distance = 11mm and 22mm,
base/.style = {draw, rounded corners=5pt, minimum height=5.5em,
align=center},
block/.style = {base, minimum width=19em},
smallblock/.style = {base, minimum width=9em},
]
coordinate (in);
node [block,right=of in] (A) {Start with the narrowest product\
or geographic market definition.};
node [block,below=of A ] (B) {Is it profitable for a monopoly producer of\
that product to increase prices in a small but\
significant and nontransitory way?};
node [block,below=of B ] (C) {There must be at least one good substitute\
excluded from the current market definition.\
Expand the market to include it.};
node [block,below=of C ] (D) {Now have a multiproduct monopolist.\
Could he profitably raise prices?};
node [smallblock,right=of D] (E) {Stop.\
Market definition\
is wide enough.};
draw [-{Latex[length=3mm]}]
(A) edge (B)
(B) edge ["No"] (C)
(C) edge (D)
(D) edge ["Yes"] (E);
draw [-{Latex[length=3mm]}]
(B) -| node[pos=0.25,name=5] {Yes} (E);
draw [-{Latex[length=3mm]}]
(D.west) -- +(-1,0) |- node[pos=0.25] {No} (C);
end{tikzpicture}
caption[Illustration of an HMT decision tree]
{Illustration of an HMT decision tree citep{QuantTech}.}
label{AlgorithmHMT}
end{figure}
end{document}





share|improve this answer














Like this?



enter image description here



(I guess that you like to have something like the above picture)



I rewrote your MWE significantly




  • deprecated tikzstyle{<name>} = [...] I replace with options of tikzpicture as <name>/.style = {....} (see MWE below)

  • with tikzlibrary{positioning} the correct syntax is for example left=of <node name>

  • for node distance I consider positioning again and define node distance = <vertical> and <horizontal>. for distance I select far smaller lengths than you (otherwise the picture is out of page)

  • for relative positioning with + you need explicit to define anchor of node: (D.west) -- + (-1,0).


Complete MWE:



documentclass[12pt]{article}
usepackage{setspace,amsmath,graphicx,float}
usepackage[english]{babel}
usepackage[natbibapa]{apacite}
usepackage{times}
usepackage{tikz}
usetikzlibrary{arrows, arrows.meta, calc, positioning, quotes, shapes}

begin{document}
begin{figure}
centering
begin{tikzpicture}[
auto,
node distance = 11mm and 22mm,
base/.style = {draw, rounded corners=5pt, minimum height=5.5em,
align=center},
block/.style = {base, minimum width=19em},
smallblock/.style = {base, minimum width=9em},
]
coordinate (in);
node [block,right=of in] (A) {Start with the narrowest product\
or geographic market definition.};
node [block,below=of A ] (B) {Is it profitable for a monopoly producer of\
that product to increase prices in a small but\
significant and nontransitory way?};
node [block,below=of B ] (C) {There must be at least one good substitute\
excluded from the current market definition.\
Expand the market to include it.};
node [block,below=of C ] (D) {Now have a multiproduct monopolist.\
Could he profitably raise prices?};
node [smallblock,right=of D] (E) {Stop.\
Market definition\
is wide enough.};
draw [-{Latex[length=3mm]}]
(A) edge (B)
(B) edge ["No"] (C)
(C) edge (D)
(D) edge ["Yes"] (E);
draw [-{Latex[length=3mm]}]
(B) -| node[pos=0.25,name=5] {Yes} (E);
draw [-{Latex[length=3mm]}]
(D.west) -- +(-1,0) |- node[pos=0.25] {No} (C);
end{tikzpicture}
caption[Illustration of an HMT decision tree]
{Illustration of an HMT decision tree citep{QuantTech}.}
label{AlgorithmHMT}
end{figure}
end{document}






share|improve this answer














share|improve this answer



share|improve this answer








edited Dec 14 '18 at 18:11

























answered Dec 28 '16 at 15:32









Zarko

121k865157




121k865157












  • Thank you so much @Zarko! That's exactly what I wanted and I'm glad that I have a working sample of a pro. I picked my code up from various sources and I knew it was amateurishly done. Now I finally have something to analyse how it is done correctly.
    – Malganas
    Dec 28 '16 at 15:57


















  • Thank you so much @Zarko! That's exactly what I wanted and I'm glad that I have a working sample of a pro. I picked my code up from various sources and I knew it was amateurishly done. Now I finally have something to analyse how it is done correctly.
    – Malganas
    Dec 28 '16 at 15:57
















Thank you so much @Zarko! That's exactly what I wanted and I'm glad that I have a working sample of a pro. I picked my code up from various sources and I knew it was amateurishly done. Now I finally have something to analyse how it is done correctly.
– Malganas
Dec 28 '16 at 15:57




Thank you so much @Zarko! That's exactly what I wanted and I'm glad that I have a working sample of a pro. I picked my code up from various sources and I knew it was amateurishly done. Now I finally have something to analyse how it is done correctly.
– Malganas
Dec 28 '16 at 15:57


















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.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • 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%2f346041%2ftikz-how-to-create-arrow-with-two-corners%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

How to change which sound is reproduced for terminal bell?

Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents

Can I use Tabulator js library in my java Spring + Thymeleaf project?