How to create a space between two child nodes in tikzpicture?












1















My code and the related picture is shown. How to create a space between two child notes and leave node in tikzpicture?



enter image description here



begin{figure*}
centering
begin{tikzpicture} [baseline=-0.5ex]
begin{scope}[sibling distance=10cm,
every node/.style = {,shape=rectangle, rounded corners,
draw, align=center, minimum size=.75cm,
top color=white, align=center, bottom color=blue!20}]]
node (a) at (0,2) {Goal : Company sustainability };
node (c2) at (-1,0) {Governance};
node (c3) at (0,0) {Proper time};
node (c1) at (-2,0){Skill Man power};
node (c4) at (1,0) {Logistic Support};
node (c5) at (2,0) {Work atmosphere};
node (a1) at (-2,-2) {Expected Salary};
node (a2) at (-1,-2) {Employee flexibility };
node (a3) at (0,-2) {Boss Behaviour };
node (a4) at (1,-2) {Project Presentation };
node (a5) at (2,-2) {Switching Department};
end{scope}
draw (a)--(c1) (a) -- (c2) (a) -- (c3) (a)-- (c4) (a)-- (c5)
(c1) -- (a1) (c1) -- (a2) (c1) -- (a3) (c1) -- (a4) (c1) -- (a5)
(c2) -- (a1) (c2) -- (a2) (c2) -- (a3) (c2) -- (a4) (c2) -- (a5)
(c3) -- (a1) (c3) -- (a2) (c3) -- (a3) (c3) -- (a4) (c3) -- (a5)
(c4) -- (a1) (c4) -- (a2) (c4) -- (a3) (c4) -- (a4) (c4) -- (a5)
(c5) -- (a1) (c5) -- (a2) (c5) -- (a3) (c5) -- (a4) (c5) -- (a5)
;
end{tikzpicture}
caption{Caption}
label{fig:my_label}
end{figure*}









share|improve this question




















  • 2





    Could you consider using forest?

    – marmot
    Mar 28 at 20:58
















1















My code and the related picture is shown. How to create a space between two child notes and leave node in tikzpicture?



enter image description here



begin{figure*}
centering
begin{tikzpicture} [baseline=-0.5ex]
begin{scope}[sibling distance=10cm,
every node/.style = {,shape=rectangle, rounded corners,
draw, align=center, minimum size=.75cm,
top color=white, align=center, bottom color=blue!20}]]
node (a) at (0,2) {Goal : Company sustainability };
node (c2) at (-1,0) {Governance};
node (c3) at (0,0) {Proper time};
node (c1) at (-2,0){Skill Man power};
node (c4) at (1,0) {Logistic Support};
node (c5) at (2,0) {Work atmosphere};
node (a1) at (-2,-2) {Expected Salary};
node (a2) at (-1,-2) {Employee flexibility };
node (a3) at (0,-2) {Boss Behaviour };
node (a4) at (1,-2) {Project Presentation };
node (a5) at (2,-2) {Switching Department};
end{scope}
draw (a)--(c1) (a) -- (c2) (a) -- (c3) (a)-- (c4) (a)-- (c5)
(c1) -- (a1) (c1) -- (a2) (c1) -- (a3) (c1) -- (a4) (c1) -- (a5)
(c2) -- (a1) (c2) -- (a2) (c2) -- (a3) (c2) -- (a4) (c2) -- (a5)
(c3) -- (a1) (c3) -- (a2) (c3) -- (a3) (c3) -- (a4) (c3) -- (a5)
(c4) -- (a1) (c4) -- (a2) (c4) -- (a3) (c4) -- (a4) (c4) -- (a5)
(c5) -- (a1) (c5) -- (a2) (c5) -- (a3) (c5) -- (a4) (c5) -- (a5)
;
end{tikzpicture}
caption{Caption}
label{fig:my_label}
end{figure*}









share|improve this question




















  • 2





    Could you consider using forest?

    – marmot
    Mar 28 at 20:58














1












1








1


0






My code and the related picture is shown. How to create a space between two child notes and leave node in tikzpicture?



enter image description here



begin{figure*}
centering
begin{tikzpicture} [baseline=-0.5ex]
begin{scope}[sibling distance=10cm,
every node/.style = {,shape=rectangle, rounded corners,
draw, align=center, minimum size=.75cm,
top color=white, align=center, bottom color=blue!20}]]
node (a) at (0,2) {Goal : Company sustainability };
node (c2) at (-1,0) {Governance};
node (c3) at (0,0) {Proper time};
node (c1) at (-2,0){Skill Man power};
node (c4) at (1,0) {Logistic Support};
node (c5) at (2,0) {Work atmosphere};
node (a1) at (-2,-2) {Expected Salary};
node (a2) at (-1,-2) {Employee flexibility };
node (a3) at (0,-2) {Boss Behaviour };
node (a4) at (1,-2) {Project Presentation };
node (a5) at (2,-2) {Switching Department};
end{scope}
draw (a)--(c1) (a) -- (c2) (a) -- (c3) (a)-- (c4) (a)-- (c5)
(c1) -- (a1) (c1) -- (a2) (c1) -- (a3) (c1) -- (a4) (c1) -- (a5)
(c2) -- (a1) (c2) -- (a2) (c2) -- (a3) (c2) -- (a4) (c2) -- (a5)
(c3) -- (a1) (c3) -- (a2) (c3) -- (a3) (c3) -- (a4) (c3) -- (a5)
(c4) -- (a1) (c4) -- (a2) (c4) -- (a3) (c4) -- (a4) (c4) -- (a5)
(c5) -- (a1) (c5) -- (a2) (c5) -- (a3) (c5) -- (a4) (c5) -- (a5)
;
end{tikzpicture}
caption{Caption}
label{fig:my_label}
end{figure*}









share|improve this question
















My code and the related picture is shown. How to create a space between two child notes and leave node in tikzpicture?



enter image description here



begin{figure*}
centering
begin{tikzpicture} [baseline=-0.5ex]
begin{scope}[sibling distance=10cm,
every node/.style = {,shape=rectangle, rounded corners,
draw, align=center, minimum size=.75cm,
top color=white, align=center, bottom color=blue!20}]]
node (a) at (0,2) {Goal : Company sustainability };
node (c2) at (-1,0) {Governance};
node (c3) at (0,0) {Proper time};
node (c1) at (-2,0){Skill Man power};
node (c4) at (1,0) {Logistic Support};
node (c5) at (2,0) {Work atmosphere};
node (a1) at (-2,-2) {Expected Salary};
node (a2) at (-1,-2) {Employee flexibility };
node (a3) at (0,-2) {Boss Behaviour };
node (a4) at (1,-2) {Project Presentation };
node (a5) at (2,-2) {Switching Department};
end{scope}
draw (a)--(c1) (a) -- (c2) (a) -- (c3) (a)-- (c4) (a)-- (c5)
(c1) -- (a1) (c1) -- (a2) (c1) -- (a3) (c1) -- (a4) (c1) -- (a5)
(c2) -- (a1) (c2) -- (a2) (c2) -- (a3) (c2) -- (a4) (c2) -- (a5)
(c3) -- (a1) (c3) -- (a2) (c3) -- (a3) (c3) -- (a4) (c3) -- (a5)
(c4) -- (a1) (c4) -- (a2) (c4) -- (a3) (c4) -- (a4) (c4) -- (a5)
(c5) -- (a1) (c5) -- (a2) (c5) -- (a3) (c5) -- (a4) (c5) -- (a5)
;
end{tikzpicture}
caption{Caption}
label{fig:my_label}
end{figure*}






tikz-pgf






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 28 at 21:09









CarLaTeX

34.4k552141




34.4k552141










asked Mar 28 at 20:53









Robiul IslamRobiul Islam

356




356








  • 2





    Could you consider using forest?

    – marmot
    Mar 28 at 20:58














  • 2





    Could you consider using forest?

    – marmot
    Mar 28 at 20:58








2




2





Could you consider using forest?

– marmot
Mar 28 at 20:58





Could you consider using forest?

– marmot
Mar 28 at 20:58










1 Answer
1






active

oldest

votes


















1














With forest. (I most likely permuted your items, sorry for that!)



documentclass[border=3mm]{standalone}
usepackage{forest}
begin{document}
begin{forest}
for tree={shape=rectangle, rounded corners,
draw, align=center, minimum size=.75cm,
top color=white, align=center, bottom color=blue!20,
l sep+=10mm}
[Goal : Company sustainability,alias=n0
[Governance,alias=n1-1
[Proper time,alias=n2-1]
]
[Skill Man power,alias=n1-2
[Logistic Support,alias=n2-2]
]
[Work atmosphere,alias=n1-3
[Expected Salary,alias=n2-3]
]
[Employee flexibility,alias=n1-4
[Boss Behaviour,alias=n2-4]
]
[Project Presentation,alias=n1-5
[Switching Department,alias=n2-5]
]
]
foreach X in {1,...,5}
{foreach Y in {1,...,5}
{ifnumX=Y
else
draw (n1-X) to[out=-90,in=90,looseness=0.3] (n2-Y);
fi} }
end{forest}
end{document}


enter image description here






share|improve this answer


























  • this is a fully connected graph. So I need every edge is connected to everyone.

    – Robiul Islam
    Mar 28 at 21:09











  • @RobiulIslam Now it is. Sorry, I did not see that.

    – marmot
    Mar 28 at 21:17











  • Thanks you very much @marmot

    – Robiul Islam
    Mar 28 at 21:26














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%2f481983%2fhow-to-create-a-space-between-two-child-nodes-in-tikzpicture%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









1














With forest. (I most likely permuted your items, sorry for that!)



documentclass[border=3mm]{standalone}
usepackage{forest}
begin{document}
begin{forest}
for tree={shape=rectangle, rounded corners,
draw, align=center, minimum size=.75cm,
top color=white, align=center, bottom color=blue!20,
l sep+=10mm}
[Goal : Company sustainability,alias=n0
[Governance,alias=n1-1
[Proper time,alias=n2-1]
]
[Skill Man power,alias=n1-2
[Logistic Support,alias=n2-2]
]
[Work atmosphere,alias=n1-3
[Expected Salary,alias=n2-3]
]
[Employee flexibility,alias=n1-4
[Boss Behaviour,alias=n2-4]
]
[Project Presentation,alias=n1-5
[Switching Department,alias=n2-5]
]
]
foreach X in {1,...,5}
{foreach Y in {1,...,5}
{ifnumX=Y
else
draw (n1-X) to[out=-90,in=90,looseness=0.3] (n2-Y);
fi} }
end{forest}
end{document}


enter image description here






share|improve this answer


























  • this is a fully connected graph. So I need every edge is connected to everyone.

    – Robiul Islam
    Mar 28 at 21:09











  • @RobiulIslam Now it is. Sorry, I did not see that.

    – marmot
    Mar 28 at 21:17











  • Thanks you very much @marmot

    – Robiul Islam
    Mar 28 at 21:26


















1














With forest. (I most likely permuted your items, sorry for that!)



documentclass[border=3mm]{standalone}
usepackage{forest}
begin{document}
begin{forest}
for tree={shape=rectangle, rounded corners,
draw, align=center, minimum size=.75cm,
top color=white, align=center, bottom color=blue!20,
l sep+=10mm}
[Goal : Company sustainability,alias=n0
[Governance,alias=n1-1
[Proper time,alias=n2-1]
]
[Skill Man power,alias=n1-2
[Logistic Support,alias=n2-2]
]
[Work atmosphere,alias=n1-3
[Expected Salary,alias=n2-3]
]
[Employee flexibility,alias=n1-4
[Boss Behaviour,alias=n2-4]
]
[Project Presentation,alias=n1-5
[Switching Department,alias=n2-5]
]
]
foreach X in {1,...,5}
{foreach Y in {1,...,5}
{ifnumX=Y
else
draw (n1-X) to[out=-90,in=90,looseness=0.3] (n2-Y);
fi} }
end{forest}
end{document}


enter image description here






share|improve this answer


























  • this is a fully connected graph. So I need every edge is connected to everyone.

    – Robiul Islam
    Mar 28 at 21:09











  • @RobiulIslam Now it is. Sorry, I did not see that.

    – marmot
    Mar 28 at 21:17











  • Thanks you very much @marmot

    – Robiul Islam
    Mar 28 at 21:26
















1












1








1







With forest. (I most likely permuted your items, sorry for that!)



documentclass[border=3mm]{standalone}
usepackage{forest}
begin{document}
begin{forest}
for tree={shape=rectangle, rounded corners,
draw, align=center, minimum size=.75cm,
top color=white, align=center, bottom color=blue!20,
l sep+=10mm}
[Goal : Company sustainability,alias=n0
[Governance,alias=n1-1
[Proper time,alias=n2-1]
]
[Skill Man power,alias=n1-2
[Logistic Support,alias=n2-2]
]
[Work atmosphere,alias=n1-3
[Expected Salary,alias=n2-3]
]
[Employee flexibility,alias=n1-4
[Boss Behaviour,alias=n2-4]
]
[Project Presentation,alias=n1-5
[Switching Department,alias=n2-5]
]
]
foreach X in {1,...,5}
{foreach Y in {1,...,5}
{ifnumX=Y
else
draw (n1-X) to[out=-90,in=90,looseness=0.3] (n2-Y);
fi} }
end{forest}
end{document}


enter image description here






share|improve this answer















With forest. (I most likely permuted your items, sorry for that!)



documentclass[border=3mm]{standalone}
usepackage{forest}
begin{document}
begin{forest}
for tree={shape=rectangle, rounded corners,
draw, align=center, minimum size=.75cm,
top color=white, align=center, bottom color=blue!20,
l sep+=10mm}
[Goal : Company sustainability,alias=n0
[Governance,alias=n1-1
[Proper time,alias=n2-1]
]
[Skill Man power,alias=n1-2
[Logistic Support,alias=n2-2]
]
[Work atmosphere,alias=n1-3
[Expected Salary,alias=n2-3]
]
[Employee flexibility,alias=n1-4
[Boss Behaviour,alias=n2-4]
]
[Project Presentation,alias=n1-5
[Switching Department,alias=n2-5]
]
]
foreach X in {1,...,5}
{foreach Y in {1,...,5}
{ifnumX=Y
else
draw (n1-X) to[out=-90,in=90,looseness=0.3] (n2-Y);
fi} }
end{forest}
end{document}


enter image description here







share|improve this answer














share|improve this answer



share|improve this answer








edited Mar 28 at 21:17

























answered Mar 28 at 21:04









marmotmarmot

116k5146277




116k5146277













  • this is a fully connected graph. So I need every edge is connected to everyone.

    – Robiul Islam
    Mar 28 at 21:09











  • @RobiulIslam Now it is. Sorry, I did not see that.

    – marmot
    Mar 28 at 21:17











  • Thanks you very much @marmot

    – Robiul Islam
    Mar 28 at 21:26





















  • this is a fully connected graph. So I need every edge is connected to everyone.

    – Robiul Islam
    Mar 28 at 21:09











  • @RobiulIslam Now it is. Sorry, I did not see that.

    – marmot
    Mar 28 at 21:17











  • Thanks you very much @marmot

    – Robiul Islam
    Mar 28 at 21:26



















this is a fully connected graph. So I need every edge is connected to everyone.

– Robiul Islam
Mar 28 at 21:09





this is a fully connected graph. So I need every edge is connected to everyone.

– Robiul Islam
Mar 28 at 21:09













@RobiulIslam Now it is. Sorry, I did not see that.

– marmot
Mar 28 at 21:17





@RobiulIslam Now it is. Sorry, I did not see that.

– marmot
Mar 28 at 21:17













Thanks you very much @marmot

– Robiul Islam
Mar 28 at 21:26







Thanks you very much @marmot

– Robiul Islam
Mar 28 at 21:26




















draft saved

draft discarded




















































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


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

But avoid



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

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


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




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f481983%2fhow-to-create-a-space-between-two-child-nodes-in-tikzpicture%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 send String Array data to Server using php in android

Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents

Is anime1.com a legal site for watching anime?