Forest tree diagram - arrows not aligning











up vote
2
down vote

favorite
1












I used this answer to create a similar tree: https://tex.stackexchange.com/a/256753/175628



However the arrows do not align: with the joining lines:
enter image description here



Here is the forest code:



begin{figure}[H]
begin{center}
begin{forest}
for tree={
align=center,
parent anchor=south,
child anchor=north,
font=sffamily,
edge={thick, -{Stealth}},
l sep+=10pt,
edge path={
noexpandpath [draw, forestoption{edge}] (!u.parent anchor) -- +(0,-10pt) -| (.child anchor)forestoption{edge label};
},
if level=0{
inner xsep=0pt,
tikz={draw [thick] (.south east) -- (.south west);}
}{}
}
[Graphical User Interface
[textbf{Drawing Functions}, name=A
[textbf{Plot Pane}
[textbf{Layer System}
[textbf{Draw onto Canvas}]
[textbf{Clear the Canvas}]
[textbf{Bind Properties}]
]
]
]
[Shared Layer Access, name=C]
[Inputing Functions, name=B
[Add Functions]
[Remove Functions]
[Modify Functions]
]
]
draw[-latex] (A) to[out=east,in=west] (C);
draw[-latex] (B) to[out=west,in=east] (C);
end{forest}
end{center}
caption{Graphical User Interface Hierarchical Diagram}


If the preamble is needed I will post it but it is the most horrible thing I have mashed together.










share|improve this question







New contributor




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




















  • Welcome! Please post compilable code i.e. a complete example.
    – cfr
    5 hours ago

















up vote
2
down vote

favorite
1












I used this answer to create a similar tree: https://tex.stackexchange.com/a/256753/175628



However the arrows do not align: with the joining lines:
enter image description here



Here is the forest code:



begin{figure}[H]
begin{center}
begin{forest}
for tree={
align=center,
parent anchor=south,
child anchor=north,
font=sffamily,
edge={thick, -{Stealth}},
l sep+=10pt,
edge path={
noexpandpath [draw, forestoption{edge}] (!u.parent anchor) -- +(0,-10pt) -| (.child anchor)forestoption{edge label};
},
if level=0{
inner xsep=0pt,
tikz={draw [thick] (.south east) -- (.south west);}
}{}
}
[Graphical User Interface
[textbf{Drawing Functions}, name=A
[textbf{Plot Pane}
[textbf{Layer System}
[textbf{Draw onto Canvas}]
[textbf{Clear the Canvas}]
[textbf{Bind Properties}]
]
]
]
[Shared Layer Access, name=C]
[Inputing Functions, name=B
[Add Functions]
[Remove Functions]
[Modify Functions]
]
]
draw[-latex] (A) to[out=east,in=west] (C);
draw[-latex] (B) to[out=west,in=east] (C);
end{forest}
end{center}
caption{Graphical User Interface Hierarchical Diagram}


If the preamble is needed I will post it but it is the most horrible thing I have mashed together.










share|improve this question







New contributor




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




















  • Welcome! Please post compilable code i.e. a complete example.
    – cfr
    5 hours ago















up vote
2
down vote

favorite
1









up vote
2
down vote

favorite
1






1





I used this answer to create a similar tree: https://tex.stackexchange.com/a/256753/175628



However the arrows do not align: with the joining lines:
enter image description here



Here is the forest code:



begin{figure}[H]
begin{center}
begin{forest}
for tree={
align=center,
parent anchor=south,
child anchor=north,
font=sffamily,
edge={thick, -{Stealth}},
l sep+=10pt,
edge path={
noexpandpath [draw, forestoption{edge}] (!u.parent anchor) -- +(0,-10pt) -| (.child anchor)forestoption{edge label};
},
if level=0{
inner xsep=0pt,
tikz={draw [thick] (.south east) -- (.south west);}
}{}
}
[Graphical User Interface
[textbf{Drawing Functions}, name=A
[textbf{Plot Pane}
[textbf{Layer System}
[textbf{Draw onto Canvas}]
[textbf{Clear the Canvas}]
[textbf{Bind Properties}]
]
]
]
[Shared Layer Access, name=C]
[Inputing Functions, name=B
[Add Functions]
[Remove Functions]
[Modify Functions]
]
]
draw[-latex] (A) to[out=east,in=west] (C);
draw[-latex] (B) to[out=west,in=east] (C);
end{forest}
end{center}
caption{Graphical User Interface Hierarchical Diagram}


If the preamble is needed I will post it but it is the most horrible thing I have mashed together.










share|improve this question







New contributor




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











I used this answer to create a similar tree: https://tex.stackexchange.com/a/256753/175628



However the arrows do not align: with the joining lines:
enter image description here



Here is the forest code:



begin{figure}[H]
begin{center}
begin{forest}
for tree={
align=center,
parent anchor=south,
child anchor=north,
font=sffamily,
edge={thick, -{Stealth}},
l sep+=10pt,
edge path={
noexpandpath [draw, forestoption{edge}] (!u.parent anchor) -- +(0,-10pt) -| (.child anchor)forestoption{edge label};
},
if level=0{
inner xsep=0pt,
tikz={draw [thick] (.south east) -- (.south west);}
}{}
}
[Graphical User Interface
[textbf{Drawing Functions}, name=A
[textbf{Plot Pane}
[textbf{Layer System}
[textbf{Draw onto Canvas}]
[textbf{Clear the Canvas}]
[textbf{Bind Properties}]
]
]
]
[Shared Layer Access, name=C]
[Inputing Functions, name=B
[Add Functions]
[Remove Functions]
[Modify Functions]
]
]
draw[-latex] (A) to[out=east,in=west] (C);
draw[-latex] (B) to[out=west,in=east] (C);
end{forest}
end{center}
caption{Graphical User Interface Hierarchical Diagram}


If the preamble is needed I will post it but it is the most horrible thing I have mashed together.







tikz-pgf forest






share|improve this question







New contributor




Leafy1201 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




Leafy1201 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




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









asked 10 hours ago









Leafy1201

133




133




New contributor




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





New contributor





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






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












  • Welcome! Please post compilable code i.e. a complete example.
    – cfr
    5 hours ago




















  • Welcome! Please post compilable code i.e. a complete example.
    – cfr
    5 hours ago


















Welcome! Please post compilable code i.e. a complete example.
– cfr
5 hours ago






Welcome! Please post compilable code i.e. a complete example.
– cfr
5 hours ago












1 Answer
1






active

oldest

votes

















up vote
3
down vote



accepted










Welcome to TeX.SE! Are you looking for calign=child,calign child=2?



documentclass[tikz,border=3.14mm]{standalone}
usepackage[edges]{forest}
usetikzlibrary{arrows.meta}
begin{document}
begin{forest}
for tree={
align=center,
calign=child,calign child=2,
font=sffamily,
edge+={thick, -{Stealth}},
l sep'+=10pt,
fork sep'=10pt,
},
forked edges,
if level=0{
inner xsep=0pt,
tikz={draw [thick] (.children first) -- (.children last);}
}{},
[Graphical User Interface
[textbf{Drawing Functions}, name=A
[textbf{Plot Pane}
[textbf{Layer System}
[textbf{Draw onto Canvas}]
[textbf{Clear the Canvas}]
[textbf{Bind Properties}]
]
]
]
[Shared Layer Access, name=C]
[Inputing Functions, name=B
[Add Functions]
[Remove Functions]
[Modify Functions]
]
]
draw[-latex] (A) to[out=east,in=west] (C);
draw[-latex] (B) to[out=west,in=east] (C);
end{forest}
end{document}


enter image description here






share|improve this answer





















  • Thank you for the warm welcome and the answer!
    – Leafy1201
    9 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',
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
});


}
});






Leafy1201 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%2f462077%2fforest-tree-diagram-arrows-not-aligning%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
3
down vote



accepted










Welcome to TeX.SE! Are you looking for calign=child,calign child=2?



documentclass[tikz,border=3.14mm]{standalone}
usepackage[edges]{forest}
usetikzlibrary{arrows.meta}
begin{document}
begin{forest}
for tree={
align=center,
calign=child,calign child=2,
font=sffamily,
edge+={thick, -{Stealth}},
l sep'+=10pt,
fork sep'=10pt,
},
forked edges,
if level=0{
inner xsep=0pt,
tikz={draw [thick] (.children first) -- (.children last);}
}{},
[Graphical User Interface
[textbf{Drawing Functions}, name=A
[textbf{Plot Pane}
[textbf{Layer System}
[textbf{Draw onto Canvas}]
[textbf{Clear the Canvas}]
[textbf{Bind Properties}]
]
]
]
[Shared Layer Access, name=C]
[Inputing Functions, name=B
[Add Functions]
[Remove Functions]
[Modify Functions]
]
]
draw[-latex] (A) to[out=east,in=west] (C);
draw[-latex] (B) to[out=west,in=east] (C);
end{forest}
end{document}


enter image description here






share|improve this answer





















  • Thank you for the warm welcome and the answer!
    – Leafy1201
    9 hours ago















up vote
3
down vote



accepted










Welcome to TeX.SE! Are you looking for calign=child,calign child=2?



documentclass[tikz,border=3.14mm]{standalone}
usepackage[edges]{forest}
usetikzlibrary{arrows.meta}
begin{document}
begin{forest}
for tree={
align=center,
calign=child,calign child=2,
font=sffamily,
edge+={thick, -{Stealth}},
l sep'+=10pt,
fork sep'=10pt,
},
forked edges,
if level=0{
inner xsep=0pt,
tikz={draw [thick] (.children first) -- (.children last);}
}{},
[Graphical User Interface
[textbf{Drawing Functions}, name=A
[textbf{Plot Pane}
[textbf{Layer System}
[textbf{Draw onto Canvas}]
[textbf{Clear the Canvas}]
[textbf{Bind Properties}]
]
]
]
[Shared Layer Access, name=C]
[Inputing Functions, name=B
[Add Functions]
[Remove Functions]
[Modify Functions]
]
]
draw[-latex] (A) to[out=east,in=west] (C);
draw[-latex] (B) to[out=west,in=east] (C);
end{forest}
end{document}


enter image description here






share|improve this answer





















  • Thank you for the warm welcome and the answer!
    – Leafy1201
    9 hours ago













up vote
3
down vote



accepted







up vote
3
down vote



accepted






Welcome to TeX.SE! Are you looking for calign=child,calign child=2?



documentclass[tikz,border=3.14mm]{standalone}
usepackage[edges]{forest}
usetikzlibrary{arrows.meta}
begin{document}
begin{forest}
for tree={
align=center,
calign=child,calign child=2,
font=sffamily,
edge+={thick, -{Stealth}},
l sep'+=10pt,
fork sep'=10pt,
},
forked edges,
if level=0{
inner xsep=0pt,
tikz={draw [thick] (.children first) -- (.children last);}
}{},
[Graphical User Interface
[textbf{Drawing Functions}, name=A
[textbf{Plot Pane}
[textbf{Layer System}
[textbf{Draw onto Canvas}]
[textbf{Clear the Canvas}]
[textbf{Bind Properties}]
]
]
]
[Shared Layer Access, name=C]
[Inputing Functions, name=B
[Add Functions]
[Remove Functions]
[Modify Functions]
]
]
draw[-latex] (A) to[out=east,in=west] (C);
draw[-latex] (B) to[out=west,in=east] (C);
end{forest}
end{document}


enter image description here






share|improve this answer












Welcome to TeX.SE! Are you looking for calign=child,calign child=2?



documentclass[tikz,border=3.14mm]{standalone}
usepackage[edges]{forest}
usetikzlibrary{arrows.meta}
begin{document}
begin{forest}
for tree={
align=center,
calign=child,calign child=2,
font=sffamily,
edge+={thick, -{Stealth}},
l sep'+=10pt,
fork sep'=10pt,
},
forked edges,
if level=0{
inner xsep=0pt,
tikz={draw [thick] (.children first) -- (.children last);}
}{},
[Graphical User Interface
[textbf{Drawing Functions}, name=A
[textbf{Plot Pane}
[textbf{Layer System}
[textbf{Draw onto Canvas}]
[textbf{Clear the Canvas}]
[textbf{Bind Properties}]
]
]
]
[Shared Layer Access, name=C]
[Inputing Functions, name=B
[Add Functions]
[Remove Functions]
[Modify Functions]
]
]
draw[-latex] (A) to[out=east,in=west] (C);
draw[-latex] (B) to[out=west,in=east] (C);
end{forest}
end{document}


enter image description here







share|improve this answer












share|improve this answer



share|improve this answer










answered 9 hours ago









marmot

78.7k487166




78.7k487166












  • Thank you for the warm welcome and the answer!
    – Leafy1201
    9 hours ago


















  • Thank you for the warm welcome and the answer!
    – Leafy1201
    9 hours ago
















Thank you for the warm welcome and the answer!
– Leafy1201
9 hours ago




Thank you for the warm welcome and the answer!
– Leafy1201
9 hours ago










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










 

draft saved


draft discarded


















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













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












Leafy1201 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%2f462077%2fforest-tree-diagram-arrows-not-aligning%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

Accessing regular linux commands in Huawei's Dopra Linux

Can't connect RFCOMM socket: Host is down

Kernel panic - not syncing: Fatal Exception in Interrupt