How to move edges, when you move nodes?











up vote
7
down vote

favorite
2












I'm new to all this, so please bear with me.



When I move the nodes for the family id=JK (BB2) the edge is not moving along with them. How can I get it to look like the family id=AK (BB1)?
wierd familytree



 documentclass{article}
usepackage[all]{genealogytree}

begin{document}
titlepage
begin{tikzpicture}
genealogytree[
template=formal graph,
timeflow=right,
%% edge settings
edges={foreground={black,line width=0.5mm},
background={white,line width=1mm}},
]{
child[id=KAK]{
g[id=AndersKristian,male,]{B_1}
child[id=AK]{
g[id=Anne,female]{BB_1}
p[id=Klaus,male]{Y_1}
c[id=Tobias,male]{O_1}
}
child[id=JK]{
g[id=Jytte,female,tikz={xshift=20mm}]{BB_2}
p[id=Kjell,male,tikz={xshift=20mm}]{Y_2}
c[id=Hans,male,tikz={xshift=20mm}]{O_2}
}
}
}
end{tikzpicture}
end{document}









share|improve this question







New contributor




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
















  • 1




    To be honest, I do not know what's going on since on p. 48 of the manual it is written that "These final shiftings do not influence the auto-layout algorithm, but the edges move with the nodes." Naively I'd think that this implies that the edges would move with the nodes.
    – marmot
    Nov 15 at 4:05















up vote
7
down vote

favorite
2












I'm new to all this, so please bear with me.



When I move the nodes for the family id=JK (BB2) the edge is not moving along with them. How can I get it to look like the family id=AK (BB1)?
wierd familytree



 documentclass{article}
usepackage[all]{genealogytree}

begin{document}
titlepage
begin{tikzpicture}
genealogytree[
template=formal graph,
timeflow=right,
%% edge settings
edges={foreground={black,line width=0.5mm},
background={white,line width=1mm}},
]{
child[id=KAK]{
g[id=AndersKristian,male,]{B_1}
child[id=AK]{
g[id=Anne,female]{BB_1}
p[id=Klaus,male]{Y_1}
c[id=Tobias,male]{O_1}
}
child[id=JK]{
g[id=Jytte,female,tikz={xshift=20mm}]{BB_2}
p[id=Kjell,male,tikz={xshift=20mm}]{Y_2}
c[id=Hans,male,tikz={xshift=20mm}]{O_2}
}
}
}
end{tikzpicture}
end{document}









share|improve this question







New contributor




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
















  • 1




    To be honest, I do not know what's going on since on p. 48 of the manual it is written that "These final shiftings do not influence the auto-layout algorithm, but the edges move with the nodes." Naively I'd think that this implies that the edges would move with the nodes.
    – marmot
    Nov 15 at 4:05













up vote
7
down vote

favorite
2









up vote
7
down vote

favorite
2






2





I'm new to all this, so please bear with me.



When I move the nodes for the family id=JK (BB2) the edge is not moving along with them. How can I get it to look like the family id=AK (BB1)?
wierd familytree



 documentclass{article}
usepackage[all]{genealogytree}

begin{document}
titlepage
begin{tikzpicture}
genealogytree[
template=formal graph,
timeflow=right,
%% edge settings
edges={foreground={black,line width=0.5mm},
background={white,line width=1mm}},
]{
child[id=KAK]{
g[id=AndersKristian,male,]{B_1}
child[id=AK]{
g[id=Anne,female]{BB_1}
p[id=Klaus,male]{Y_1}
c[id=Tobias,male]{O_1}
}
child[id=JK]{
g[id=Jytte,female,tikz={xshift=20mm}]{BB_2}
p[id=Kjell,male,tikz={xshift=20mm}]{Y_2}
c[id=Hans,male,tikz={xshift=20mm}]{O_2}
}
}
}
end{tikzpicture}
end{document}









share|improve this question







New contributor




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











I'm new to all this, so please bear with me.



When I move the nodes for the family id=JK (BB2) the edge is not moving along with them. How can I get it to look like the family id=AK (BB1)?
wierd familytree



 documentclass{article}
usepackage[all]{genealogytree}

begin{document}
titlepage
begin{tikzpicture}
genealogytree[
template=formal graph,
timeflow=right,
%% edge settings
edges={foreground={black,line width=0.5mm},
background={white,line width=1mm}},
]{
child[id=KAK]{
g[id=AndersKristian,male,]{B_1}
child[id=AK]{
g[id=Anne,female]{BB_1}
p[id=Klaus,male]{Y_1}
c[id=Tobias,male]{O_1}
}
child[id=JK]{
g[id=Jytte,female,tikz={xshift=20mm}]{BB_2}
p[id=Kjell,male,tikz={xshift=20mm}]{Y_2}
c[id=Hans,male,tikz={xshift=20mm}]{O_2}
}
}
}
end{tikzpicture}
end{document}






tikz-pgf genealogytree






share|improve this question







New contributor




Else Vind Frost 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




Else Vind Frost 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




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









asked Nov 14 at 21:06









Else Vind Frost

361




361




New contributor




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





New contributor





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






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








  • 1




    To be honest, I do not know what's going on since on p. 48 of the manual it is written that "These final shiftings do not influence the auto-layout algorithm, but the edges move with the nodes." Naively I'd think that this implies that the edges would move with the nodes.
    – marmot
    Nov 15 at 4:05














  • 1




    To be honest, I do not know what's going on since on p. 48 of the manual it is written that "These final shiftings do not influence the auto-layout algorithm, but the edges move with the nodes." Naively I'd think that this implies that the edges would move with the nodes.
    – marmot
    Nov 15 at 4:05








1




1




To be honest, I do not know what's going on since on p. 48 of the manual it is written that "These final shiftings do not influence the auto-layout algorithm, but the edges move with the nodes." Naively I'd think that this implies that the edges would move with the nodes.
– marmot
Nov 15 at 4:05




To be honest, I do not know what's going on since on p. 48 of the manual it is written that "These final shiftings do not influence the auto-layout algorithm, but the edges move with the nodes." Naively I'd think that this implies that the edges would move with the nodes.
– marmot
Nov 15 at 4:05















active

oldest

votes











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


}
});






Else Vind Frost 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%2f460019%2fhow-to-move-edges-when-you-move-nodes%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown






























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes








Else Vind Frost is a new contributor. Be nice, and check out our Code of Conduct.










 

draft saved


draft discarded


















Else Vind Frost is a new contributor. Be nice, and check out our Code of Conduct.













Else Vind Frost is a new contributor. Be nice, and check out our Code of Conduct.












Else Vind Frost 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%2f460019%2fhow-to-move-edges-when-you-move-nodes%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

Biblatex bibliography style without URLs when DOI exists (in Overleaf with Zotero bibliography)

ComboBox Display Member on multiple fields

Is it possible to collect Nectar points via Trainline?