Animating mindmaps with arrowsMindmap tikzpicture in beamer (reveal step by step)How to encircle nodes in mindmap and add arrows to connectorsDrawing two headed arrows in mindmapIncluding animated mindmap into presentation gives errorsAnimating ProtocolsTikz mindmaps sharing childrenScaling tikz mindmaps within a beamer frameStep-by-step revealing of tikz-tree using opacity trick and overlays in beamerUnwanted question marks using beamer, tikz and mindmapsMindmaps: children of scopes' children, shared children and edge color gradienttikz: Getting angles in mindmaps rightAngle between siblings in TikZ mindmapsTikZ Mindmaps: Set angle between node vertices, instead of centersDrawing two headed arrows in mindmap
Does it matter what way the tires go if no directional arrow?
Wifi is sometimes soft blocked by unknown service
Single word that parallels "Recent" when discussing the near future
Why when I add jam to my tea it stops producing thin "membrane" on top?
Would life always name the light from their sun "white"
tikz drawing rectangle discretized with triangle lattices and its centroids
Holding rent money for my friend which amounts to over $10k?
Meaning of "legitimate" in Carl Jung's quote "Neurosis is always a substitute for legitimate suffering."
Do crew rest seats count towards the maximum allowed number of seats per flight attendant?
Polynomial division: Is this trick obvious?
Using chord iii in a chord progression (major key)
How to rename multiple files in a directory at the same time
Is my test coverage up to snuff?
Can I say: "When was your train leaving?" if the train leaves in the future?
Is random forest for regression a 'true' regression?
Why did the UK remove the 'European Union' from its passport?
How do I know which cipher suites can be disabled?
How could it be that 80% of townspeople were farmers during the Edo period in Japan?
Why is the Advance Variation considered strong vs the Caro-Kann but not vs the Scandinavian?
Network latencies between opposite ends of the Earth
Why commonly or frequently used fonts sizes are even numbers like 10px, 12px, 16px, 24px, or 32px?
Could there be something like aerobatic smoke trails in the vacuum of space?
How to not get blinded by an attack at dawn
Will the volt, ampere, ohm or other electrical units change on May 20th, 2019?
Animating mindmaps with arrows
Mindmap tikzpicture in beamer (reveal step by step)How to encircle nodes in mindmap and add arrows to connectorsDrawing two headed arrows in mindmapIncluding animated mindmap into presentation gives errorsAnimating ProtocolsTikz mindmaps sharing childrenScaling tikz mindmaps within a beamer frameStep-by-step revealing of tikz-tree using opacity trick and overlays in beamerUnwanted question marks using beamer, tikz and mindmapsMindmaps: children of scopes' children, shared children and edge color gradienttikz: Getting angles in mindmaps rightAngle between siblings in TikZ mindmapsTikZ Mindmaps: Set angle between node vertices, instead of centersDrawing two headed arrows in mindmap
My question refers to this question (I would comment there had I 50 reputation or more...).
I have a mindmap with arrows as in this question (motivated by this question) in a beamer document. I would like to reveal different children and arrows as I go.
Here's my tentative code (taken from several sources, amongst which Daniel's answer in here):
documentclassbeamer
usepackagetikz
usetikzlibrarymindmap,trees,shadows
usetikzlibraryshapes.arrows,calc,positioning%%For arrows
newcommandDrawArrowConnection[5][]
path let p1=($(#2)-(#3)$),n1=0.25*veclen(x1,y1) in
($(#2)!n1!90:(#3)$) coordinate (#2-A)
($(#2)!n1!270:(#3)$) coordinate (#2-B)
($(#3)!n1!90:(#2)$) coordinate (#3-A)
($(#3)!n1!270:(#2)$) coordinate (#3-B);
foreach Y in A,B
pgfcoordinateP-#2-Ypgfpointshapeborder#2pgfpointanchor#3-Ycenter
pgfcoordinateP-#3-Ypgfpointshapeborder#3pgfpointanchor#2-Ycenter
shade let p1=($(#2)-(#3)$),n1=atan2(y1,x1)-90 in
[top color=#4,bottom color=#5,shading angle=n1] (P-#2-A)
to[bend left=15] ($($(P-#2-A)!0.4!(P-#3-B)$)!0.25!($(P-#2-B)!0.4!(P-#3-A)$)$)
-- ($($(P-#2-A)!0.4!(P-#3-B)$)!3.14pt!270:(P-#3-B)$)
-- ($($(P-#2-A)!0.6!(P-#3-B)$)!0.25!($(P-#2-B)!0.4!(P-#3-A)$)$)
to[bend left=15] (P-#3-B) --
(P-#3-A) to[bend left=15]
($($(P-#3-A)!0.4!(P-#2-B)$)!0.25!($(P-#3-B)!0.6!(P-#2-A)$)$)
-- ($($(P-#3-A)!0.6!(P-#2-B)$)!3.14pt!270:(P-#2-B)$)
-- ($($(P-#3-A)!0.6!(P-#2-B)$)!0.25!($(P-#3-B)!0.6!(P-#2-A)$)$)
to[bend left=15] (P-#2-B) -- cycle;
begindocument
% Keys to support piece-wise uncovering of elements in TikZ pictures:
% node[visible on=<2->](foo)Foo
% node[visible on=<2,4>](bar)Bar % put braces around comma expressions
%
% Internally works by setting opacity=0 when invisible, which has the
% adavantage (compared to node<2->(foo)Foo that the node is always there, hence
% always consumes space plus that coordinate (foo) is always available.
%
% The actual command that implements the invisibility can be overriden
% by altering the style invisible. For instance tikzssetinvisible/.style=opacity=0.2
% would dim the "invisible" parts. Alternatively, the color might be set to white, if the
% output driver does not support transparencies (e.g., PS)
%
tikzset
invisible/.style=opacity=0,
visible on/.style=alt=#1invisible,
alt/.code args=<#1>#2#3%
alt<#1>pgfkeysalso#2pgfkeysalso#3 % pgfkeysalso doesn't change the path
,
beginframe
begintikzpicture
path[mindmap, concept color=black, text=white,
level 1 concept/.append style=level distance=27mm, sibling angle=90,
level 2 concept/.append style=level distance=17mm, sibling angle=90,every node/.append style=scale=0.6]
node[concept] A
[clockwise from=135]
child[concept color=blue,visible on=<8->]
node(B)[concept] B
[clockwise from=135, level 2 concept/.append style=sibling angle=50]
child node[concept] b1
child[concept color=green!60!black, visible on=<5->]
node(C)[concept] C
[clockwise from=90]
childnode(c1)[concept,visible on=<6->] c1
childnode(c2)[concept,visible on=<7->] c2
child[concept color=red!60!black, visible on=<2->]
node[concept] D
[clockwise from=0]
childnode[concept, visible on=<3->] d1
childnode[concept, visible on=<4->] d2
child[concept color=yellow!60!black,visible on=<8->]
node[concept] E
;
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%
%%%%%%%%%%%%%% CONNECTIONS
%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
DrawArrowConnectionc1c2green!60!blackgreen!60!black
endtikzpicture
endframe
enddocument
The first problem I encounter is that when children in level 2 are revealed, the links to children in level 3 are also revealed (before the children). How can I solve that?
Secondly, I do not know how to modify the code so the arrows don't appear all the time.
Could you help me? Thanks!
beamer tikz-arrows mindmaps
add a comment |
My question refers to this question (I would comment there had I 50 reputation or more...).
I have a mindmap with arrows as in this question (motivated by this question) in a beamer document. I would like to reveal different children and arrows as I go.
Here's my tentative code (taken from several sources, amongst which Daniel's answer in here):
documentclassbeamer
usepackagetikz
usetikzlibrarymindmap,trees,shadows
usetikzlibraryshapes.arrows,calc,positioning%%For arrows
newcommandDrawArrowConnection[5][]
path let p1=($(#2)-(#3)$),n1=0.25*veclen(x1,y1) in
($(#2)!n1!90:(#3)$) coordinate (#2-A)
($(#2)!n1!270:(#3)$) coordinate (#2-B)
($(#3)!n1!90:(#2)$) coordinate (#3-A)
($(#3)!n1!270:(#2)$) coordinate (#3-B);
foreach Y in A,B
pgfcoordinateP-#2-Ypgfpointshapeborder#2pgfpointanchor#3-Ycenter
pgfcoordinateP-#3-Ypgfpointshapeborder#3pgfpointanchor#2-Ycenter
shade let p1=($(#2)-(#3)$),n1=atan2(y1,x1)-90 in
[top color=#4,bottom color=#5,shading angle=n1] (P-#2-A)
to[bend left=15] ($($(P-#2-A)!0.4!(P-#3-B)$)!0.25!($(P-#2-B)!0.4!(P-#3-A)$)$)
-- ($($(P-#2-A)!0.4!(P-#3-B)$)!3.14pt!270:(P-#3-B)$)
-- ($($(P-#2-A)!0.6!(P-#3-B)$)!0.25!($(P-#2-B)!0.4!(P-#3-A)$)$)
to[bend left=15] (P-#3-B) --
(P-#3-A) to[bend left=15]
($($(P-#3-A)!0.4!(P-#2-B)$)!0.25!($(P-#3-B)!0.6!(P-#2-A)$)$)
-- ($($(P-#3-A)!0.6!(P-#2-B)$)!3.14pt!270:(P-#2-B)$)
-- ($($(P-#3-A)!0.6!(P-#2-B)$)!0.25!($(P-#3-B)!0.6!(P-#2-A)$)$)
to[bend left=15] (P-#2-B) -- cycle;
begindocument
% Keys to support piece-wise uncovering of elements in TikZ pictures:
% node[visible on=<2->](foo)Foo
% node[visible on=<2,4>](bar)Bar % put braces around comma expressions
%
% Internally works by setting opacity=0 when invisible, which has the
% adavantage (compared to node<2->(foo)Foo that the node is always there, hence
% always consumes space plus that coordinate (foo) is always available.
%
% The actual command that implements the invisibility can be overriden
% by altering the style invisible. For instance tikzssetinvisible/.style=opacity=0.2
% would dim the "invisible" parts. Alternatively, the color might be set to white, if the
% output driver does not support transparencies (e.g., PS)
%
tikzset
invisible/.style=opacity=0,
visible on/.style=alt=#1invisible,
alt/.code args=<#1>#2#3%
alt<#1>pgfkeysalso#2pgfkeysalso#3 % pgfkeysalso doesn't change the path
,
beginframe
begintikzpicture
path[mindmap, concept color=black, text=white,
level 1 concept/.append style=level distance=27mm, sibling angle=90,
level 2 concept/.append style=level distance=17mm, sibling angle=90,every node/.append style=scale=0.6]
node[concept] A
[clockwise from=135]
child[concept color=blue,visible on=<8->]
node(B)[concept] B
[clockwise from=135, level 2 concept/.append style=sibling angle=50]
child node[concept] b1
child[concept color=green!60!black, visible on=<5->]
node(C)[concept] C
[clockwise from=90]
childnode(c1)[concept,visible on=<6->] c1
childnode(c2)[concept,visible on=<7->] c2
child[concept color=red!60!black, visible on=<2->]
node[concept] D
[clockwise from=0]
childnode[concept, visible on=<3->] d1
childnode[concept, visible on=<4->] d2
child[concept color=yellow!60!black,visible on=<8->]
node[concept] E
;
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%
%%%%%%%%%%%%%% CONNECTIONS
%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
DrawArrowConnectionc1c2green!60!blackgreen!60!black
endtikzpicture
endframe
enddocument
The first problem I encounter is that when children in level 2 are revealed, the links to children in level 3 are also revealed (before the children). How can I solve that?
Secondly, I do not know how to modify the code so the arrows don't appear all the time.
Could you help me? Thanks!
beamer tikz-arrows mindmaps
add a comment |
My question refers to this question (I would comment there had I 50 reputation or more...).
I have a mindmap with arrows as in this question (motivated by this question) in a beamer document. I would like to reveal different children and arrows as I go.
Here's my tentative code (taken from several sources, amongst which Daniel's answer in here):
documentclassbeamer
usepackagetikz
usetikzlibrarymindmap,trees,shadows
usetikzlibraryshapes.arrows,calc,positioning%%For arrows
newcommandDrawArrowConnection[5][]
path let p1=($(#2)-(#3)$),n1=0.25*veclen(x1,y1) in
($(#2)!n1!90:(#3)$) coordinate (#2-A)
($(#2)!n1!270:(#3)$) coordinate (#2-B)
($(#3)!n1!90:(#2)$) coordinate (#3-A)
($(#3)!n1!270:(#2)$) coordinate (#3-B);
foreach Y in A,B
pgfcoordinateP-#2-Ypgfpointshapeborder#2pgfpointanchor#3-Ycenter
pgfcoordinateP-#3-Ypgfpointshapeborder#3pgfpointanchor#2-Ycenter
shade let p1=($(#2)-(#3)$),n1=atan2(y1,x1)-90 in
[top color=#4,bottom color=#5,shading angle=n1] (P-#2-A)
to[bend left=15] ($($(P-#2-A)!0.4!(P-#3-B)$)!0.25!($(P-#2-B)!0.4!(P-#3-A)$)$)
-- ($($(P-#2-A)!0.4!(P-#3-B)$)!3.14pt!270:(P-#3-B)$)
-- ($($(P-#2-A)!0.6!(P-#3-B)$)!0.25!($(P-#2-B)!0.4!(P-#3-A)$)$)
to[bend left=15] (P-#3-B) --
(P-#3-A) to[bend left=15]
($($(P-#3-A)!0.4!(P-#2-B)$)!0.25!($(P-#3-B)!0.6!(P-#2-A)$)$)
-- ($($(P-#3-A)!0.6!(P-#2-B)$)!3.14pt!270:(P-#2-B)$)
-- ($($(P-#3-A)!0.6!(P-#2-B)$)!0.25!($(P-#3-B)!0.6!(P-#2-A)$)$)
to[bend left=15] (P-#2-B) -- cycle;
begindocument
% Keys to support piece-wise uncovering of elements in TikZ pictures:
% node[visible on=<2->](foo)Foo
% node[visible on=<2,4>](bar)Bar % put braces around comma expressions
%
% Internally works by setting opacity=0 when invisible, which has the
% adavantage (compared to node<2->(foo)Foo that the node is always there, hence
% always consumes space plus that coordinate (foo) is always available.
%
% The actual command that implements the invisibility can be overriden
% by altering the style invisible. For instance tikzssetinvisible/.style=opacity=0.2
% would dim the "invisible" parts. Alternatively, the color might be set to white, if the
% output driver does not support transparencies (e.g., PS)
%
tikzset
invisible/.style=opacity=0,
visible on/.style=alt=#1invisible,
alt/.code args=<#1>#2#3%
alt<#1>pgfkeysalso#2pgfkeysalso#3 % pgfkeysalso doesn't change the path
,
beginframe
begintikzpicture
path[mindmap, concept color=black, text=white,
level 1 concept/.append style=level distance=27mm, sibling angle=90,
level 2 concept/.append style=level distance=17mm, sibling angle=90,every node/.append style=scale=0.6]
node[concept] A
[clockwise from=135]
child[concept color=blue,visible on=<8->]
node(B)[concept] B
[clockwise from=135, level 2 concept/.append style=sibling angle=50]
child node[concept] b1
child[concept color=green!60!black, visible on=<5->]
node(C)[concept] C
[clockwise from=90]
childnode(c1)[concept,visible on=<6->] c1
childnode(c2)[concept,visible on=<7->] c2
child[concept color=red!60!black, visible on=<2->]
node[concept] D
[clockwise from=0]
childnode[concept, visible on=<3->] d1
childnode[concept, visible on=<4->] d2
child[concept color=yellow!60!black,visible on=<8->]
node[concept] E
;
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%
%%%%%%%%%%%%%% CONNECTIONS
%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
DrawArrowConnectionc1c2green!60!blackgreen!60!black
endtikzpicture
endframe
enddocument
The first problem I encounter is that when children in level 2 are revealed, the links to children in level 3 are also revealed (before the children). How can I solve that?
Secondly, I do not know how to modify the code so the arrows don't appear all the time.
Could you help me? Thanks!
beamer tikz-arrows mindmaps
My question refers to this question (I would comment there had I 50 reputation or more...).
I have a mindmap with arrows as in this question (motivated by this question) in a beamer document. I would like to reveal different children and arrows as I go.
Here's my tentative code (taken from several sources, amongst which Daniel's answer in here):
documentclassbeamer
usepackagetikz
usetikzlibrarymindmap,trees,shadows
usetikzlibraryshapes.arrows,calc,positioning%%For arrows
newcommandDrawArrowConnection[5][]
path let p1=($(#2)-(#3)$),n1=0.25*veclen(x1,y1) in
($(#2)!n1!90:(#3)$) coordinate (#2-A)
($(#2)!n1!270:(#3)$) coordinate (#2-B)
($(#3)!n1!90:(#2)$) coordinate (#3-A)
($(#3)!n1!270:(#2)$) coordinate (#3-B);
foreach Y in A,B
pgfcoordinateP-#2-Ypgfpointshapeborder#2pgfpointanchor#3-Ycenter
pgfcoordinateP-#3-Ypgfpointshapeborder#3pgfpointanchor#2-Ycenter
shade let p1=($(#2)-(#3)$),n1=atan2(y1,x1)-90 in
[top color=#4,bottom color=#5,shading angle=n1] (P-#2-A)
to[bend left=15] ($($(P-#2-A)!0.4!(P-#3-B)$)!0.25!($(P-#2-B)!0.4!(P-#3-A)$)$)
-- ($($(P-#2-A)!0.4!(P-#3-B)$)!3.14pt!270:(P-#3-B)$)
-- ($($(P-#2-A)!0.6!(P-#3-B)$)!0.25!($(P-#2-B)!0.4!(P-#3-A)$)$)
to[bend left=15] (P-#3-B) --
(P-#3-A) to[bend left=15]
($($(P-#3-A)!0.4!(P-#2-B)$)!0.25!($(P-#3-B)!0.6!(P-#2-A)$)$)
-- ($($(P-#3-A)!0.6!(P-#2-B)$)!3.14pt!270:(P-#2-B)$)
-- ($($(P-#3-A)!0.6!(P-#2-B)$)!0.25!($(P-#3-B)!0.6!(P-#2-A)$)$)
to[bend left=15] (P-#2-B) -- cycle;
begindocument
% Keys to support piece-wise uncovering of elements in TikZ pictures:
% node[visible on=<2->](foo)Foo
% node[visible on=<2,4>](bar)Bar % put braces around comma expressions
%
% Internally works by setting opacity=0 when invisible, which has the
% adavantage (compared to node<2->(foo)Foo that the node is always there, hence
% always consumes space plus that coordinate (foo) is always available.
%
% The actual command that implements the invisibility can be overriden
% by altering the style invisible. For instance tikzssetinvisible/.style=opacity=0.2
% would dim the "invisible" parts. Alternatively, the color might be set to white, if the
% output driver does not support transparencies (e.g., PS)
%
tikzset
invisible/.style=opacity=0,
visible on/.style=alt=#1invisible,
alt/.code args=<#1>#2#3%
alt<#1>pgfkeysalso#2pgfkeysalso#3 % pgfkeysalso doesn't change the path
,
beginframe
begintikzpicture
path[mindmap, concept color=black, text=white,
level 1 concept/.append style=level distance=27mm, sibling angle=90,
level 2 concept/.append style=level distance=17mm, sibling angle=90,every node/.append style=scale=0.6]
node[concept] A
[clockwise from=135]
child[concept color=blue,visible on=<8->]
node(B)[concept] B
[clockwise from=135, level 2 concept/.append style=sibling angle=50]
child node[concept] b1
child[concept color=green!60!black, visible on=<5->]
node(C)[concept] C
[clockwise from=90]
childnode(c1)[concept,visible on=<6->] c1
childnode(c2)[concept,visible on=<7->] c2
child[concept color=red!60!black, visible on=<2->]
node[concept] D
[clockwise from=0]
childnode[concept, visible on=<3->] d1
childnode[concept, visible on=<4->] d2
child[concept color=yellow!60!black,visible on=<8->]
node[concept] E
;
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%
%%%%%%%%%%%%%% CONNECTIONS
%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
DrawArrowConnectionc1c2green!60!blackgreen!60!black
endtikzpicture
endframe
enddocument
The first problem I encounter is that when children in level 2 are revealed, the links to children in level 3 are also revealed (before the children). How can I solve that?
Secondly, I do not know how to modify the code so the arrows don't appear all the time.
Could you help me? Thanks!
beamer tikz-arrows mindmaps
beamer tikz-arrows mindmaps
asked May 4 at 6:42
AnaAna
576
576
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
As explained in Daniel's answer you need to pass the visible on
keys to the child
ren, not to the nodes. Please note also that the visible on
style is meanwhile part of the overlay-beamer-styles
library. When I wrote DrawArrowConnection
, I already had in mind to improve it. Meanwhile Marijn added a very nice feature that allows one to draw double-headed arrows. This is a great trick. However, now there exist three versions of DrawArrowConnection
on the market, the original one, Marijn's nice upgrade, and the version from the older answer which you can find below. That's not optimal IMHO so I made it more TikZy and flexible. The upshot is that now everything is in a style and (optional) keys. All you need to do is to say something like
path[visible on=<7->,arrow connection shift=0.1,arrow connection bend=12,
arrow connection=from c1 to c2 varying color green!60!black to green!60!black];
where the syntax of arrow connection is (hopefully) self-explaining:
arrow connection=from <start> to <target> varying color <start color> to <end color> ,
arrow connection shift
is Marijn's shift parameter, and arrow connection bend
is a bending parameter whose initial value is 15 (with not other reason than that this looked reasonable in the settings of the original answer) but may be adjusted if the node distance varies. The reason for all this is to make it easier to upgrade it further without losing downward compatibility. And here is an MWE
documentclassbeamer
usepackagetikz
usetikzlibrarymindmap,overlay-beamer-styles
usetikzlibraryshapes.arrows,calc,positioning%%For arrows
tikzsetarrow connection shift/.initial=0,arrow connection bend/.initial=15,
arrow connection/.style args=from #1 to #2 varying color #3 to #4%
insert path=
let p1=($(#1)-(#2)$),n1=0.25*veclen(x1,y1) in
($(#1)!n1!90:(#2)$) coordinate (#1-A)
($(#1)!n1!270:(#2)$) coordinate (#1-B)
($(#2)!n1!90:(#1)$) coordinate (#2-A)
($(#2)!n1!270:(#1)$) coordinate (#2-B)
pgfextra
foreach Y in A,B
pgfcoordinateP-#1-Ypgfpointshapeborder#1pgfpointanchor#2-Ycenter
pgfcoordinateP-#2-Ypgfpointshapeborder#2pgfpointanchor#1-Ycenter
let p1=($(#1)-(#2)$),n1=atan2(y1,x1)-90 in
[top color=#3,bottom color=#4,shading angle=n1] (P-#1-A)
to[bend left=15] ($($(P-#1-A)!0.4+pgfkeysvalueof/tikz/arrow connection shift!(P-#2-B)$)!0.25!($(P-#1-B)!0.4+pgfkeysvalueof/tikz/arrow connection shift!(P-#2-A)$)$)
-- ($($(P-#1-A)!0.4+pgfkeysvalueof/tikz/arrow connection shift!(P-#2-B)$)!3.14pt!270:(P-#2-B)$)
-- ($($(P-#1-A)!0.6+pgfkeysvalueof/tikz/arrow connection shift!(P-#2-B)$)!0.25!($(P-#1-B)!0.4+pgfkeysvalueof/tikz/arrow connection shift!(P-#2-A)$)$)
to[bend left=pgfkeysvalueof/tikz/arrow connection bend] (P-#2-B) --
(P-#2-A) to[bend left=pgfkeysvalueof/tikz/arrow connection bend]
($($(P-#2-A)!0.4-pgfkeysvalueof/tikz/arrow connection shift!(P-#1-B)$)!0.25!($(P-#2-B)!0.6-pgfkeysvalueof/tikz/arrow connection shift!(P-#1-A)$)$)
-- ($($(P-#2-A)!0.6-pgfkeysvalueof/tikz/arrow connection shift!(P-#1-B)$)!3.14pt!270:(P-#1-B)$)
-- ($($(P-#2-A)!0.6-pgfkeysvalueof/tikz/arrow connection shift!(P-#1-B)$)!0.25!($(P-#2-B)!0.6-pgfkeysvalueof/tikz/arrow connection shift!(P-#1-A)$)$)
to[bend left=15] (P-#1-B) -- cycle
begindocument
beginframe
begintikzpicture
path[mindmap, concept color=black, text=white,
level 1 concept/.append style=level distance=27mm, sibling angle=90,
level 2 concept/.append style=level distance=17mm, sibling angle=90,every node/.append style=scale=0.6]
node[concept] A
[clockwise from=135]
child[concept color=blue,visible on=<8->]
node(B)[concept] B
[clockwise from=135, level 2 concept/.append style=sibling angle=50]
child node[concept] b1
child[concept color=green!60!black, visible on=<5->]
node(C)[concept] C
[clockwise from=90]
child[visible on=<6->]node(c1)[concept] c1
child[visible on=<7->]node(c2)[concept] c2
child[concept color=red!60!black, visible on=<2->]
node[concept] D
[clockwise from=0]
child[visible on=<3->]node[concept] d1
child[visible on=<4->]node[concept] d2
child[concept color=yellow!60!black,visible on=<8->]
node[concept] E
;
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%
%%%%%%%%%%%%%% CONNECTIONS
%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
path[visible on=<7->,arrow connection shift=0.1,arrow connection bend=12,
arrow connection=from c1 to c2 varying color green!60!black to green!60!black];
endtikzpicture
endframe
enddocument
Older (less elegant but working) answer: As for the DrawArrowConnection
, I have the habit of writing the commands in such a way that they allow for an optional parameter, which seems to pay off here. To draw the arrow connection only from slide 7 on you need only to do
DrawArrowConnection[visible on=<7->]c1c2green!60!blackgreen!60!black
Full code:
documentclassbeamer
usepackagetikz
usetikzlibrarymindmap,overlay-beamer-styles
usetikzlibraryshapes.arrows,calc,positioning%%For arrows
newcommandDrawArrowConnection[5][]
path let p1=($(#2)-(#3)$),n1=0.25*veclen(x1,y1) in
($(#2)!n1!90:(#3)$) coordinate (#2-A)
($(#2)!n1!270:(#3)$) coordinate (#2-B)
($(#3)!n1!90:(#2)$) coordinate (#3-A)
($(#3)!n1!270:(#2)$) coordinate (#3-B);
foreach Y in A,B
pgfcoordinateP-#2-Ypgfpointshapeborder#2pgfpointanchor#3-Ycenter
pgfcoordinateP-#3-Ypgfpointshapeborder#3pgfpointanchor#2-Ycenter
shade[#1] let p1=($(#2)-(#3)$),n1=atan2(y1,x1)-90 in
[top color=#4,bottom color=#5,shading angle=n1] (P-#2-A)
to[bend left=15] ($($(P-#2-A)!0.4!(P-#3-B)$)!0.25!($(P-#2-B)!0.4!(P-#3-A)$)$)
-- ($($(P-#2-A)!0.4!(P-#3-B)$)!3.14pt!270:(P-#3-B)$)
-- ($($(P-#2-A)!0.6!(P-#3-B)$)!0.25!($(P-#2-B)!0.4!(P-#3-A)$)$)
to[bend left=15] (P-#3-B) --
(P-#3-A) to[bend left=15]
($($(P-#3-A)!0.4!(P-#2-B)$)!0.25!($(P-#3-B)!0.6!(P-#2-A)$)$)
-- ($($(P-#3-A)!0.6!(P-#2-B)$)!3.14pt!270:(P-#2-B)$)
-- ($($(P-#3-A)!0.6!(P-#2-B)$)!0.25!($(P-#3-B)!0.6!(P-#2-A)$)$)
to[bend left=15] (P-#2-B) -- cycle;
begindocument
beginframe
begintikzpicture
path[mindmap, concept color=black, text=white,
level 1 concept/.append style=level distance=27mm, sibling angle=90,
level 2 concept/.append style=level distance=17mm, sibling angle=90,every node/.append style=scale=0.6]
node[concept] A
[clockwise from=135]
child[concept color=blue,visible on=<8->]
node(B)[concept] B
[clockwise from=135, level 2 concept/.append style=sibling angle=50]
child node[concept] b1
child[concept color=green!60!black, visible on=<5->]
node(C)[concept] C
[clockwise from=90]
child[visible on=<6->]node(c1)[concept] c1
child[visible on=<7->]node(c2)[concept] c2
child[concept color=red!60!black, visible on=<2->]
node[concept] D
[clockwise from=0]
child[visible on=<3->]node[concept] d1
child[visible on=<4->]node[concept] d2
child[concept color=yellow!60!black,visible on=<8->]
node[concept] E
;
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%
%%%%%%%%%%%%%% CONNECTIONS
%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
DrawArrowConnection[visible on=<7->]c1c2green!60!blackgreen!60!black
endtikzpicture
endframe
enddocument
The white circles are artifacts of the conversion to an animated gif and are not present in the pdf output.
@ marmot: thanks a lot for you answer. I am sorry to have overlooked the info in Daniel's answer! However, the arrow thing is not working in my code. I had actually already tried that... Thanks!
– Ana
May 4 at 7:33
@marmot: in fact, it does work, I hadn't understood I needed to modify the arrow code! Many thanks!
– Ana
May 4 at 9:13
1
@Ana I added an IMHO better version that incorporates Marjin's nice upgrades and is easier to use and customize.
– marmot
May 4 at 17:03
Awesome, thanks!
– Ana
May 4 at 17:08
add a comment |
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f489098%2fanimating-mindmaps-with-arrows%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
As explained in Daniel's answer you need to pass the visible on
keys to the child
ren, not to the nodes. Please note also that the visible on
style is meanwhile part of the overlay-beamer-styles
library. When I wrote DrawArrowConnection
, I already had in mind to improve it. Meanwhile Marijn added a very nice feature that allows one to draw double-headed arrows. This is a great trick. However, now there exist three versions of DrawArrowConnection
on the market, the original one, Marijn's nice upgrade, and the version from the older answer which you can find below. That's not optimal IMHO so I made it more TikZy and flexible. The upshot is that now everything is in a style and (optional) keys. All you need to do is to say something like
path[visible on=<7->,arrow connection shift=0.1,arrow connection bend=12,
arrow connection=from c1 to c2 varying color green!60!black to green!60!black];
where the syntax of arrow connection is (hopefully) self-explaining:
arrow connection=from <start> to <target> varying color <start color> to <end color> ,
arrow connection shift
is Marijn's shift parameter, and arrow connection bend
is a bending parameter whose initial value is 15 (with not other reason than that this looked reasonable in the settings of the original answer) but may be adjusted if the node distance varies. The reason for all this is to make it easier to upgrade it further without losing downward compatibility. And here is an MWE
documentclassbeamer
usepackagetikz
usetikzlibrarymindmap,overlay-beamer-styles
usetikzlibraryshapes.arrows,calc,positioning%%For arrows
tikzsetarrow connection shift/.initial=0,arrow connection bend/.initial=15,
arrow connection/.style args=from #1 to #2 varying color #3 to #4%
insert path=
let p1=($(#1)-(#2)$),n1=0.25*veclen(x1,y1) in
($(#1)!n1!90:(#2)$) coordinate (#1-A)
($(#1)!n1!270:(#2)$) coordinate (#1-B)
($(#2)!n1!90:(#1)$) coordinate (#2-A)
($(#2)!n1!270:(#1)$) coordinate (#2-B)
pgfextra
foreach Y in A,B
pgfcoordinateP-#1-Ypgfpointshapeborder#1pgfpointanchor#2-Ycenter
pgfcoordinateP-#2-Ypgfpointshapeborder#2pgfpointanchor#1-Ycenter
let p1=($(#1)-(#2)$),n1=atan2(y1,x1)-90 in
[top color=#3,bottom color=#4,shading angle=n1] (P-#1-A)
to[bend left=15] ($($(P-#1-A)!0.4+pgfkeysvalueof/tikz/arrow connection shift!(P-#2-B)$)!0.25!($(P-#1-B)!0.4+pgfkeysvalueof/tikz/arrow connection shift!(P-#2-A)$)$)
-- ($($(P-#1-A)!0.4+pgfkeysvalueof/tikz/arrow connection shift!(P-#2-B)$)!3.14pt!270:(P-#2-B)$)
-- ($($(P-#1-A)!0.6+pgfkeysvalueof/tikz/arrow connection shift!(P-#2-B)$)!0.25!($(P-#1-B)!0.4+pgfkeysvalueof/tikz/arrow connection shift!(P-#2-A)$)$)
to[bend left=pgfkeysvalueof/tikz/arrow connection bend] (P-#2-B) --
(P-#2-A) to[bend left=pgfkeysvalueof/tikz/arrow connection bend]
($($(P-#2-A)!0.4-pgfkeysvalueof/tikz/arrow connection shift!(P-#1-B)$)!0.25!($(P-#2-B)!0.6-pgfkeysvalueof/tikz/arrow connection shift!(P-#1-A)$)$)
-- ($($(P-#2-A)!0.6-pgfkeysvalueof/tikz/arrow connection shift!(P-#1-B)$)!3.14pt!270:(P-#1-B)$)
-- ($($(P-#2-A)!0.6-pgfkeysvalueof/tikz/arrow connection shift!(P-#1-B)$)!0.25!($(P-#2-B)!0.6-pgfkeysvalueof/tikz/arrow connection shift!(P-#1-A)$)$)
to[bend left=15] (P-#1-B) -- cycle
begindocument
beginframe
begintikzpicture
path[mindmap, concept color=black, text=white,
level 1 concept/.append style=level distance=27mm, sibling angle=90,
level 2 concept/.append style=level distance=17mm, sibling angle=90,every node/.append style=scale=0.6]
node[concept] A
[clockwise from=135]
child[concept color=blue,visible on=<8->]
node(B)[concept] B
[clockwise from=135, level 2 concept/.append style=sibling angle=50]
child node[concept] b1
child[concept color=green!60!black, visible on=<5->]
node(C)[concept] C
[clockwise from=90]
child[visible on=<6->]node(c1)[concept] c1
child[visible on=<7->]node(c2)[concept] c2
child[concept color=red!60!black, visible on=<2->]
node[concept] D
[clockwise from=0]
child[visible on=<3->]node[concept] d1
child[visible on=<4->]node[concept] d2
child[concept color=yellow!60!black,visible on=<8->]
node[concept] E
;
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%
%%%%%%%%%%%%%% CONNECTIONS
%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
path[visible on=<7->,arrow connection shift=0.1,arrow connection bend=12,
arrow connection=from c1 to c2 varying color green!60!black to green!60!black];
endtikzpicture
endframe
enddocument
Older (less elegant but working) answer: As for the DrawArrowConnection
, I have the habit of writing the commands in such a way that they allow for an optional parameter, which seems to pay off here. To draw the arrow connection only from slide 7 on you need only to do
DrawArrowConnection[visible on=<7->]c1c2green!60!blackgreen!60!black
Full code:
documentclassbeamer
usepackagetikz
usetikzlibrarymindmap,overlay-beamer-styles
usetikzlibraryshapes.arrows,calc,positioning%%For arrows
newcommandDrawArrowConnection[5][]
path let p1=($(#2)-(#3)$),n1=0.25*veclen(x1,y1) in
($(#2)!n1!90:(#3)$) coordinate (#2-A)
($(#2)!n1!270:(#3)$) coordinate (#2-B)
($(#3)!n1!90:(#2)$) coordinate (#3-A)
($(#3)!n1!270:(#2)$) coordinate (#3-B);
foreach Y in A,B
pgfcoordinateP-#2-Ypgfpointshapeborder#2pgfpointanchor#3-Ycenter
pgfcoordinateP-#3-Ypgfpointshapeborder#3pgfpointanchor#2-Ycenter
shade[#1] let p1=($(#2)-(#3)$),n1=atan2(y1,x1)-90 in
[top color=#4,bottom color=#5,shading angle=n1] (P-#2-A)
to[bend left=15] ($($(P-#2-A)!0.4!(P-#3-B)$)!0.25!($(P-#2-B)!0.4!(P-#3-A)$)$)
-- ($($(P-#2-A)!0.4!(P-#3-B)$)!3.14pt!270:(P-#3-B)$)
-- ($($(P-#2-A)!0.6!(P-#3-B)$)!0.25!($(P-#2-B)!0.4!(P-#3-A)$)$)
to[bend left=15] (P-#3-B) --
(P-#3-A) to[bend left=15]
($($(P-#3-A)!0.4!(P-#2-B)$)!0.25!($(P-#3-B)!0.6!(P-#2-A)$)$)
-- ($($(P-#3-A)!0.6!(P-#2-B)$)!3.14pt!270:(P-#2-B)$)
-- ($($(P-#3-A)!0.6!(P-#2-B)$)!0.25!($(P-#3-B)!0.6!(P-#2-A)$)$)
to[bend left=15] (P-#2-B) -- cycle;
begindocument
beginframe
begintikzpicture
path[mindmap, concept color=black, text=white,
level 1 concept/.append style=level distance=27mm, sibling angle=90,
level 2 concept/.append style=level distance=17mm, sibling angle=90,every node/.append style=scale=0.6]
node[concept] A
[clockwise from=135]
child[concept color=blue,visible on=<8->]
node(B)[concept] B
[clockwise from=135, level 2 concept/.append style=sibling angle=50]
child node[concept] b1
child[concept color=green!60!black, visible on=<5->]
node(C)[concept] C
[clockwise from=90]
child[visible on=<6->]node(c1)[concept] c1
child[visible on=<7->]node(c2)[concept] c2
child[concept color=red!60!black, visible on=<2->]
node[concept] D
[clockwise from=0]
child[visible on=<3->]node[concept] d1
child[visible on=<4->]node[concept] d2
child[concept color=yellow!60!black,visible on=<8->]
node[concept] E
;
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%
%%%%%%%%%%%%%% CONNECTIONS
%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
DrawArrowConnection[visible on=<7->]c1c2green!60!blackgreen!60!black
endtikzpicture
endframe
enddocument
The white circles are artifacts of the conversion to an animated gif and are not present in the pdf output.
@ marmot: thanks a lot for you answer. I am sorry to have overlooked the info in Daniel's answer! However, the arrow thing is not working in my code. I had actually already tried that... Thanks!
– Ana
May 4 at 7:33
@marmot: in fact, it does work, I hadn't understood I needed to modify the arrow code! Many thanks!
– Ana
May 4 at 9:13
1
@Ana I added an IMHO better version that incorporates Marjin's nice upgrades and is easier to use and customize.
– marmot
May 4 at 17:03
Awesome, thanks!
– Ana
May 4 at 17:08
add a comment |
As explained in Daniel's answer you need to pass the visible on
keys to the child
ren, not to the nodes. Please note also that the visible on
style is meanwhile part of the overlay-beamer-styles
library. When I wrote DrawArrowConnection
, I already had in mind to improve it. Meanwhile Marijn added a very nice feature that allows one to draw double-headed arrows. This is a great trick. However, now there exist three versions of DrawArrowConnection
on the market, the original one, Marijn's nice upgrade, and the version from the older answer which you can find below. That's not optimal IMHO so I made it more TikZy and flexible. The upshot is that now everything is in a style and (optional) keys. All you need to do is to say something like
path[visible on=<7->,arrow connection shift=0.1,arrow connection bend=12,
arrow connection=from c1 to c2 varying color green!60!black to green!60!black];
where the syntax of arrow connection is (hopefully) self-explaining:
arrow connection=from <start> to <target> varying color <start color> to <end color> ,
arrow connection shift
is Marijn's shift parameter, and arrow connection bend
is a bending parameter whose initial value is 15 (with not other reason than that this looked reasonable in the settings of the original answer) but may be adjusted if the node distance varies. The reason for all this is to make it easier to upgrade it further without losing downward compatibility. And here is an MWE
documentclassbeamer
usepackagetikz
usetikzlibrarymindmap,overlay-beamer-styles
usetikzlibraryshapes.arrows,calc,positioning%%For arrows
tikzsetarrow connection shift/.initial=0,arrow connection bend/.initial=15,
arrow connection/.style args=from #1 to #2 varying color #3 to #4%
insert path=
let p1=($(#1)-(#2)$),n1=0.25*veclen(x1,y1) in
($(#1)!n1!90:(#2)$) coordinate (#1-A)
($(#1)!n1!270:(#2)$) coordinate (#1-B)
($(#2)!n1!90:(#1)$) coordinate (#2-A)
($(#2)!n1!270:(#1)$) coordinate (#2-B)
pgfextra
foreach Y in A,B
pgfcoordinateP-#1-Ypgfpointshapeborder#1pgfpointanchor#2-Ycenter
pgfcoordinateP-#2-Ypgfpointshapeborder#2pgfpointanchor#1-Ycenter
let p1=($(#1)-(#2)$),n1=atan2(y1,x1)-90 in
[top color=#3,bottom color=#4,shading angle=n1] (P-#1-A)
to[bend left=15] ($($(P-#1-A)!0.4+pgfkeysvalueof/tikz/arrow connection shift!(P-#2-B)$)!0.25!($(P-#1-B)!0.4+pgfkeysvalueof/tikz/arrow connection shift!(P-#2-A)$)$)
-- ($($(P-#1-A)!0.4+pgfkeysvalueof/tikz/arrow connection shift!(P-#2-B)$)!3.14pt!270:(P-#2-B)$)
-- ($($(P-#1-A)!0.6+pgfkeysvalueof/tikz/arrow connection shift!(P-#2-B)$)!0.25!($(P-#1-B)!0.4+pgfkeysvalueof/tikz/arrow connection shift!(P-#2-A)$)$)
to[bend left=pgfkeysvalueof/tikz/arrow connection bend] (P-#2-B) --
(P-#2-A) to[bend left=pgfkeysvalueof/tikz/arrow connection bend]
($($(P-#2-A)!0.4-pgfkeysvalueof/tikz/arrow connection shift!(P-#1-B)$)!0.25!($(P-#2-B)!0.6-pgfkeysvalueof/tikz/arrow connection shift!(P-#1-A)$)$)
-- ($($(P-#2-A)!0.6-pgfkeysvalueof/tikz/arrow connection shift!(P-#1-B)$)!3.14pt!270:(P-#1-B)$)
-- ($($(P-#2-A)!0.6-pgfkeysvalueof/tikz/arrow connection shift!(P-#1-B)$)!0.25!($(P-#2-B)!0.6-pgfkeysvalueof/tikz/arrow connection shift!(P-#1-A)$)$)
to[bend left=15] (P-#1-B) -- cycle
begindocument
beginframe
begintikzpicture
path[mindmap, concept color=black, text=white,
level 1 concept/.append style=level distance=27mm, sibling angle=90,
level 2 concept/.append style=level distance=17mm, sibling angle=90,every node/.append style=scale=0.6]
node[concept] A
[clockwise from=135]
child[concept color=blue,visible on=<8->]
node(B)[concept] B
[clockwise from=135, level 2 concept/.append style=sibling angle=50]
child node[concept] b1
child[concept color=green!60!black, visible on=<5->]
node(C)[concept] C
[clockwise from=90]
child[visible on=<6->]node(c1)[concept] c1
child[visible on=<7->]node(c2)[concept] c2
child[concept color=red!60!black, visible on=<2->]
node[concept] D
[clockwise from=0]
child[visible on=<3->]node[concept] d1
child[visible on=<4->]node[concept] d2
child[concept color=yellow!60!black,visible on=<8->]
node[concept] E
;
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%
%%%%%%%%%%%%%% CONNECTIONS
%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
path[visible on=<7->,arrow connection shift=0.1,arrow connection bend=12,
arrow connection=from c1 to c2 varying color green!60!black to green!60!black];
endtikzpicture
endframe
enddocument
Older (less elegant but working) answer: As for the DrawArrowConnection
, I have the habit of writing the commands in such a way that they allow for an optional parameter, which seems to pay off here. To draw the arrow connection only from slide 7 on you need only to do
DrawArrowConnection[visible on=<7->]c1c2green!60!blackgreen!60!black
Full code:
documentclassbeamer
usepackagetikz
usetikzlibrarymindmap,overlay-beamer-styles
usetikzlibraryshapes.arrows,calc,positioning%%For arrows
newcommandDrawArrowConnection[5][]
path let p1=($(#2)-(#3)$),n1=0.25*veclen(x1,y1) in
($(#2)!n1!90:(#3)$) coordinate (#2-A)
($(#2)!n1!270:(#3)$) coordinate (#2-B)
($(#3)!n1!90:(#2)$) coordinate (#3-A)
($(#3)!n1!270:(#2)$) coordinate (#3-B);
foreach Y in A,B
pgfcoordinateP-#2-Ypgfpointshapeborder#2pgfpointanchor#3-Ycenter
pgfcoordinateP-#3-Ypgfpointshapeborder#3pgfpointanchor#2-Ycenter
shade[#1] let p1=($(#2)-(#3)$),n1=atan2(y1,x1)-90 in
[top color=#4,bottom color=#5,shading angle=n1] (P-#2-A)
to[bend left=15] ($($(P-#2-A)!0.4!(P-#3-B)$)!0.25!($(P-#2-B)!0.4!(P-#3-A)$)$)
-- ($($(P-#2-A)!0.4!(P-#3-B)$)!3.14pt!270:(P-#3-B)$)
-- ($($(P-#2-A)!0.6!(P-#3-B)$)!0.25!($(P-#2-B)!0.4!(P-#3-A)$)$)
to[bend left=15] (P-#3-B) --
(P-#3-A) to[bend left=15]
($($(P-#3-A)!0.4!(P-#2-B)$)!0.25!($(P-#3-B)!0.6!(P-#2-A)$)$)
-- ($($(P-#3-A)!0.6!(P-#2-B)$)!3.14pt!270:(P-#2-B)$)
-- ($($(P-#3-A)!0.6!(P-#2-B)$)!0.25!($(P-#3-B)!0.6!(P-#2-A)$)$)
to[bend left=15] (P-#2-B) -- cycle;
begindocument
beginframe
begintikzpicture
path[mindmap, concept color=black, text=white,
level 1 concept/.append style=level distance=27mm, sibling angle=90,
level 2 concept/.append style=level distance=17mm, sibling angle=90,every node/.append style=scale=0.6]
node[concept] A
[clockwise from=135]
child[concept color=blue,visible on=<8->]
node(B)[concept] B
[clockwise from=135, level 2 concept/.append style=sibling angle=50]
child node[concept] b1
child[concept color=green!60!black, visible on=<5->]
node(C)[concept] C
[clockwise from=90]
child[visible on=<6->]node(c1)[concept] c1
child[visible on=<7->]node(c2)[concept] c2
child[concept color=red!60!black, visible on=<2->]
node[concept] D
[clockwise from=0]
child[visible on=<3->]node[concept] d1
child[visible on=<4->]node[concept] d2
child[concept color=yellow!60!black,visible on=<8->]
node[concept] E
;
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%
%%%%%%%%%%%%%% CONNECTIONS
%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
DrawArrowConnection[visible on=<7->]c1c2green!60!blackgreen!60!black
endtikzpicture
endframe
enddocument
The white circles are artifacts of the conversion to an animated gif and are not present in the pdf output.
@ marmot: thanks a lot for you answer. I am sorry to have overlooked the info in Daniel's answer! However, the arrow thing is not working in my code. I had actually already tried that... Thanks!
– Ana
May 4 at 7:33
@marmot: in fact, it does work, I hadn't understood I needed to modify the arrow code! Many thanks!
– Ana
May 4 at 9:13
1
@Ana I added an IMHO better version that incorporates Marjin's nice upgrades and is easier to use and customize.
– marmot
May 4 at 17:03
Awesome, thanks!
– Ana
May 4 at 17:08
add a comment |
As explained in Daniel's answer you need to pass the visible on
keys to the child
ren, not to the nodes. Please note also that the visible on
style is meanwhile part of the overlay-beamer-styles
library. When I wrote DrawArrowConnection
, I already had in mind to improve it. Meanwhile Marijn added a very nice feature that allows one to draw double-headed arrows. This is a great trick. However, now there exist three versions of DrawArrowConnection
on the market, the original one, Marijn's nice upgrade, and the version from the older answer which you can find below. That's not optimal IMHO so I made it more TikZy and flexible. The upshot is that now everything is in a style and (optional) keys. All you need to do is to say something like
path[visible on=<7->,arrow connection shift=0.1,arrow connection bend=12,
arrow connection=from c1 to c2 varying color green!60!black to green!60!black];
where the syntax of arrow connection is (hopefully) self-explaining:
arrow connection=from <start> to <target> varying color <start color> to <end color> ,
arrow connection shift
is Marijn's shift parameter, and arrow connection bend
is a bending parameter whose initial value is 15 (with not other reason than that this looked reasonable in the settings of the original answer) but may be adjusted if the node distance varies. The reason for all this is to make it easier to upgrade it further without losing downward compatibility. And here is an MWE
documentclassbeamer
usepackagetikz
usetikzlibrarymindmap,overlay-beamer-styles
usetikzlibraryshapes.arrows,calc,positioning%%For arrows
tikzsetarrow connection shift/.initial=0,arrow connection bend/.initial=15,
arrow connection/.style args=from #1 to #2 varying color #3 to #4%
insert path=
let p1=($(#1)-(#2)$),n1=0.25*veclen(x1,y1) in
($(#1)!n1!90:(#2)$) coordinate (#1-A)
($(#1)!n1!270:(#2)$) coordinate (#1-B)
($(#2)!n1!90:(#1)$) coordinate (#2-A)
($(#2)!n1!270:(#1)$) coordinate (#2-B)
pgfextra
foreach Y in A,B
pgfcoordinateP-#1-Ypgfpointshapeborder#1pgfpointanchor#2-Ycenter
pgfcoordinateP-#2-Ypgfpointshapeborder#2pgfpointanchor#1-Ycenter
let p1=($(#1)-(#2)$),n1=atan2(y1,x1)-90 in
[top color=#3,bottom color=#4,shading angle=n1] (P-#1-A)
to[bend left=15] ($($(P-#1-A)!0.4+pgfkeysvalueof/tikz/arrow connection shift!(P-#2-B)$)!0.25!($(P-#1-B)!0.4+pgfkeysvalueof/tikz/arrow connection shift!(P-#2-A)$)$)
-- ($($(P-#1-A)!0.4+pgfkeysvalueof/tikz/arrow connection shift!(P-#2-B)$)!3.14pt!270:(P-#2-B)$)
-- ($($(P-#1-A)!0.6+pgfkeysvalueof/tikz/arrow connection shift!(P-#2-B)$)!0.25!($(P-#1-B)!0.4+pgfkeysvalueof/tikz/arrow connection shift!(P-#2-A)$)$)
to[bend left=pgfkeysvalueof/tikz/arrow connection bend] (P-#2-B) --
(P-#2-A) to[bend left=pgfkeysvalueof/tikz/arrow connection bend]
($($(P-#2-A)!0.4-pgfkeysvalueof/tikz/arrow connection shift!(P-#1-B)$)!0.25!($(P-#2-B)!0.6-pgfkeysvalueof/tikz/arrow connection shift!(P-#1-A)$)$)
-- ($($(P-#2-A)!0.6-pgfkeysvalueof/tikz/arrow connection shift!(P-#1-B)$)!3.14pt!270:(P-#1-B)$)
-- ($($(P-#2-A)!0.6-pgfkeysvalueof/tikz/arrow connection shift!(P-#1-B)$)!0.25!($(P-#2-B)!0.6-pgfkeysvalueof/tikz/arrow connection shift!(P-#1-A)$)$)
to[bend left=15] (P-#1-B) -- cycle
begindocument
beginframe
begintikzpicture
path[mindmap, concept color=black, text=white,
level 1 concept/.append style=level distance=27mm, sibling angle=90,
level 2 concept/.append style=level distance=17mm, sibling angle=90,every node/.append style=scale=0.6]
node[concept] A
[clockwise from=135]
child[concept color=blue,visible on=<8->]
node(B)[concept] B
[clockwise from=135, level 2 concept/.append style=sibling angle=50]
child node[concept] b1
child[concept color=green!60!black, visible on=<5->]
node(C)[concept] C
[clockwise from=90]
child[visible on=<6->]node(c1)[concept] c1
child[visible on=<7->]node(c2)[concept] c2
child[concept color=red!60!black, visible on=<2->]
node[concept] D
[clockwise from=0]
child[visible on=<3->]node[concept] d1
child[visible on=<4->]node[concept] d2
child[concept color=yellow!60!black,visible on=<8->]
node[concept] E
;
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%
%%%%%%%%%%%%%% CONNECTIONS
%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
path[visible on=<7->,arrow connection shift=0.1,arrow connection bend=12,
arrow connection=from c1 to c2 varying color green!60!black to green!60!black];
endtikzpicture
endframe
enddocument
Older (less elegant but working) answer: As for the DrawArrowConnection
, I have the habit of writing the commands in such a way that they allow for an optional parameter, which seems to pay off here. To draw the arrow connection only from slide 7 on you need only to do
DrawArrowConnection[visible on=<7->]c1c2green!60!blackgreen!60!black
Full code:
documentclassbeamer
usepackagetikz
usetikzlibrarymindmap,overlay-beamer-styles
usetikzlibraryshapes.arrows,calc,positioning%%For arrows
newcommandDrawArrowConnection[5][]
path let p1=($(#2)-(#3)$),n1=0.25*veclen(x1,y1) in
($(#2)!n1!90:(#3)$) coordinate (#2-A)
($(#2)!n1!270:(#3)$) coordinate (#2-B)
($(#3)!n1!90:(#2)$) coordinate (#3-A)
($(#3)!n1!270:(#2)$) coordinate (#3-B);
foreach Y in A,B
pgfcoordinateP-#2-Ypgfpointshapeborder#2pgfpointanchor#3-Ycenter
pgfcoordinateP-#3-Ypgfpointshapeborder#3pgfpointanchor#2-Ycenter
shade[#1] let p1=($(#2)-(#3)$),n1=atan2(y1,x1)-90 in
[top color=#4,bottom color=#5,shading angle=n1] (P-#2-A)
to[bend left=15] ($($(P-#2-A)!0.4!(P-#3-B)$)!0.25!($(P-#2-B)!0.4!(P-#3-A)$)$)
-- ($($(P-#2-A)!0.4!(P-#3-B)$)!3.14pt!270:(P-#3-B)$)
-- ($($(P-#2-A)!0.6!(P-#3-B)$)!0.25!($(P-#2-B)!0.4!(P-#3-A)$)$)
to[bend left=15] (P-#3-B) --
(P-#3-A) to[bend left=15]
($($(P-#3-A)!0.4!(P-#2-B)$)!0.25!($(P-#3-B)!0.6!(P-#2-A)$)$)
-- ($($(P-#3-A)!0.6!(P-#2-B)$)!3.14pt!270:(P-#2-B)$)
-- ($($(P-#3-A)!0.6!(P-#2-B)$)!0.25!($(P-#3-B)!0.6!(P-#2-A)$)$)
to[bend left=15] (P-#2-B) -- cycle;
begindocument
beginframe
begintikzpicture
path[mindmap, concept color=black, text=white,
level 1 concept/.append style=level distance=27mm, sibling angle=90,
level 2 concept/.append style=level distance=17mm, sibling angle=90,every node/.append style=scale=0.6]
node[concept] A
[clockwise from=135]
child[concept color=blue,visible on=<8->]
node(B)[concept] B
[clockwise from=135, level 2 concept/.append style=sibling angle=50]
child node[concept] b1
child[concept color=green!60!black, visible on=<5->]
node(C)[concept] C
[clockwise from=90]
child[visible on=<6->]node(c1)[concept] c1
child[visible on=<7->]node(c2)[concept] c2
child[concept color=red!60!black, visible on=<2->]
node[concept] D
[clockwise from=0]
child[visible on=<3->]node[concept] d1
child[visible on=<4->]node[concept] d2
child[concept color=yellow!60!black,visible on=<8->]
node[concept] E
;
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%
%%%%%%%%%%%%%% CONNECTIONS
%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
DrawArrowConnection[visible on=<7->]c1c2green!60!blackgreen!60!black
endtikzpicture
endframe
enddocument
The white circles are artifacts of the conversion to an animated gif and are not present in the pdf output.
As explained in Daniel's answer you need to pass the visible on
keys to the child
ren, not to the nodes. Please note also that the visible on
style is meanwhile part of the overlay-beamer-styles
library. When I wrote DrawArrowConnection
, I already had in mind to improve it. Meanwhile Marijn added a very nice feature that allows one to draw double-headed arrows. This is a great trick. However, now there exist three versions of DrawArrowConnection
on the market, the original one, Marijn's nice upgrade, and the version from the older answer which you can find below. That's not optimal IMHO so I made it more TikZy and flexible. The upshot is that now everything is in a style and (optional) keys. All you need to do is to say something like
path[visible on=<7->,arrow connection shift=0.1,arrow connection bend=12,
arrow connection=from c1 to c2 varying color green!60!black to green!60!black];
where the syntax of arrow connection is (hopefully) self-explaining:
arrow connection=from <start> to <target> varying color <start color> to <end color> ,
arrow connection shift
is Marijn's shift parameter, and arrow connection bend
is a bending parameter whose initial value is 15 (with not other reason than that this looked reasonable in the settings of the original answer) but may be adjusted if the node distance varies. The reason for all this is to make it easier to upgrade it further without losing downward compatibility. And here is an MWE
documentclassbeamer
usepackagetikz
usetikzlibrarymindmap,overlay-beamer-styles
usetikzlibraryshapes.arrows,calc,positioning%%For arrows
tikzsetarrow connection shift/.initial=0,arrow connection bend/.initial=15,
arrow connection/.style args=from #1 to #2 varying color #3 to #4%
insert path=
let p1=($(#1)-(#2)$),n1=0.25*veclen(x1,y1) in
($(#1)!n1!90:(#2)$) coordinate (#1-A)
($(#1)!n1!270:(#2)$) coordinate (#1-B)
($(#2)!n1!90:(#1)$) coordinate (#2-A)
($(#2)!n1!270:(#1)$) coordinate (#2-B)
pgfextra
foreach Y in A,B
pgfcoordinateP-#1-Ypgfpointshapeborder#1pgfpointanchor#2-Ycenter
pgfcoordinateP-#2-Ypgfpointshapeborder#2pgfpointanchor#1-Ycenter
let p1=($(#1)-(#2)$),n1=atan2(y1,x1)-90 in
[top color=#3,bottom color=#4,shading angle=n1] (P-#1-A)
to[bend left=15] ($($(P-#1-A)!0.4+pgfkeysvalueof/tikz/arrow connection shift!(P-#2-B)$)!0.25!($(P-#1-B)!0.4+pgfkeysvalueof/tikz/arrow connection shift!(P-#2-A)$)$)
-- ($($(P-#1-A)!0.4+pgfkeysvalueof/tikz/arrow connection shift!(P-#2-B)$)!3.14pt!270:(P-#2-B)$)
-- ($($(P-#1-A)!0.6+pgfkeysvalueof/tikz/arrow connection shift!(P-#2-B)$)!0.25!($(P-#1-B)!0.4+pgfkeysvalueof/tikz/arrow connection shift!(P-#2-A)$)$)
to[bend left=pgfkeysvalueof/tikz/arrow connection bend] (P-#2-B) --
(P-#2-A) to[bend left=pgfkeysvalueof/tikz/arrow connection bend]
($($(P-#2-A)!0.4-pgfkeysvalueof/tikz/arrow connection shift!(P-#1-B)$)!0.25!($(P-#2-B)!0.6-pgfkeysvalueof/tikz/arrow connection shift!(P-#1-A)$)$)
-- ($($(P-#2-A)!0.6-pgfkeysvalueof/tikz/arrow connection shift!(P-#1-B)$)!3.14pt!270:(P-#1-B)$)
-- ($($(P-#2-A)!0.6-pgfkeysvalueof/tikz/arrow connection shift!(P-#1-B)$)!0.25!($(P-#2-B)!0.6-pgfkeysvalueof/tikz/arrow connection shift!(P-#1-A)$)$)
to[bend left=15] (P-#1-B) -- cycle
begindocument
beginframe
begintikzpicture
path[mindmap, concept color=black, text=white,
level 1 concept/.append style=level distance=27mm, sibling angle=90,
level 2 concept/.append style=level distance=17mm, sibling angle=90,every node/.append style=scale=0.6]
node[concept] A
[clockwise from=135]
child[concept color=blue,visible on=<8->]
node(B)[concept] B
[clockwise from=135, level 2 concept/.append style=sibling angle=50]
child node[concept] b1
child[concept color=green!60!black, visible on=<5->]
node(C)[concept] C
[clockwise from=90]
child[visible on=<6->]node(c1)[concept] c1
child[visible on=<7->]node(c2)[concept] c2
child[concept color=red!60!black, visible on=<2->]
node[concept] D
[clockwise from=0]
child[visible on=<3->]node[concept] d1
child[visible on=<4->]node[concept] d2
child[concept color=yellow!60!black,visible on=<8->]
node[concept] E
;
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%
%%%%%%%%%%%%%% CONNECTIONS
%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
path[visible on=<7->,arrow connection shift=0.1,arrow connection bend=12,
arrow connection=from c1 to c2 varying color green!60!black to green!60!black];
endtikzpicture
endframe
enddocument
Older (less elegant but working) answer: As for the DrawArrowConnection
, I have the habit of writing the commands in such a way that they allow for an optional parameter, which seems to pay off here. To draw the arrow connection only from slide 7 on you need only to do
DrawArrowConnection[visible on=<7->]c1c2green!60!blackgreen!60!black
Full code:
documentclassbeamer
usepackagetikz
usetikzlibrarymindmap,overlay-beamer-styles
usetikzlibraryshapes.arrows,calc,positioning%%For arrows
newcommandDrawArrowConnection[5][]
path let p1=($(#2)-(#3)$),n1=0.25*veclen(x1,y1) in
($(#2)!n1!90:(#3)$) coordinate (#2-A)
($(#2)!n1!270:(#3)$) coordinate (#2-B)
($(#3)!n1!90:(#2)$) coordinate (#3-A)
($(#3)!n1!270:(#2)$) coordinate (#3-B);
foreach Y in A,B
pgfcoordinateP-#2-Ypgfpointshapeborder#2pgfpointanchor#3-Ycenter
pgfcoordinateP-#3-Ypgfpointshapeborder#3pgfpointanchor#2-Ycenter
shade[#1] let p1=($(#2)-(#3)$),n1=atan2(y1,x1)-90 in
[top color=#4,bottom color=#5,shading angle=n1] (P-#2-A)
to[bend left=15] ($($(P-#2-A)!0.4!(P-#3-B)$)!0.25!($(P-#2-B)!0.4!(P-#3-A)$)$)
-- ($($(P-#2-A)!0.4!(P-#3-B)$)!3.14pt!270:(P-#3-B)$)
-- ($($(P-#2-A)!0.6!(P-#3-B)$)!0.25!($(P-#2-B)!0.4!(P-#3-A)$)$)
to[bend left=15] (P-#3-B) --
(P-#3-A) to[bend left=15]
($($(P-#3-A)!0.4!(P-#2-B)$)!0.25!($(P-#3-B)!0.6!(P-#2-A)$)$)
-- ($($(P-#3-A)!0.6!(P-#2-B)$)!3.14pt!270:(P-#2-B)$)
-- ($($(P-#3-A)!0.6!(P-#2-B)$)!0.25!($(P-#3-B)!0.6!(P-#2-A)$)$)
to[bend left=15] (P-#2-B) -- cycle;
begindocument
beginframe
begintikzpicture
path[mindmap, concept color=black, text=white,
level 1 concept/.append style=level distance=27mm, sibling angle=90,
level 2 concept/.append style=level distance=17mm, sibling angle=90,every node/.append style=scale=0.6]
node[concept] A
[clockwise from=135]
child[concept color=blue,visible on=<8->]
node(B)[concept] B
[clockwise from=135, level 2 concept/.append style=sibling angle=50]
child node[concept] b1
child[concept color=green!60!black, visible on=<5->]
node(C)[concept] C
[clockwise from=90]
child[visible on=<6->]node(c1)[concept] c1
child[visible on=<7->]node(c2)[concept] c2
child[concept color=red!60!black, visible on=<2->]
node[concept] D
[clockwise from=0]
child[visible on=<3->]node[concept] d1
child[visible on=<4->]node[concept] d2
child[concept color=yellow!60!black,visible on=<8->]
node[concept] E
;
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%
%%%%%%%%%%%%%% CONNECTIONS
%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
DrawArrowConnection[visible on=<7->]c1c2green!60!blackgreen!60!black
endtikzpicture
endframe
enddocument
The white circles are artifacts of the conversion to an animated gif and are not present in the pdf output.
edited May 4 at 17:12
answered May 4 at 7:11
marmotmarmot
127k6162308
127k6162308
@ marmot: thanks a lot for you answer. I am sorry to have overlooked the info in Daniel's answer! However, the arrow thing is not working in my code. I had actually already tried that... Thanks!
– Ana
May 4 at 7:33
@marmot: in fact, it does work, I hadn't understood I needed to modify the arrow code! Many thanks!
– Ana
May 4 at 9:13
1
@Ana I added an IMHO better version that incorporates Marjin's nice upgrades and is easier to use and customize.
– marmot
May 4 at 17:03
Awesome, thanks!
– Ana
May 4 at 17:08
add a comment |
@ marmot: thanks a lot for you answer. I am sorry to have overlooked the info in Daniel's answer! However, the arrow thing is not working in my code. I had actually already tried that... Thanks!
– Ana
May 4 at 7:33
@marmot: in fact, it does work, I hadn't understood I needed to modify the arrow code! Many thanks!
– Ana
May 4 at 9:13
1
@Ana I added an IMHO better version that incorporates Marjin's nice upgrades and is easier to use and customize.
– marmot
May 4 at 17:03
Awesome, thanks!
– Ana
May 4 at 17:08
@ marmot: thanks a lot for you answer. I am sorry to have overlooked the info in Daniel's answer! However, the arrow thing is not working in my code. I had actually already tried that... Thanks!
– Ana
May 4 at 7:33
@ marmot: thanks a lot for you answer. I am sorry to have overlooked the info in Daniel's answer! However, the arrow thing is not working in my code. I had actually already tried that... Thanks!
– Ana
May 4 at 7:33
@marmot: in fact, it does work, I hadn't understood I needed to modify the arrow code! Many thanks!
– Ana
May 4 at 9:13
@marmot: in fact, it does work, I hadn't understood I needed to modify the arrow code! Many thanks!
– Ana
May 4 at 9:13
1
1
@Ana I added an IMHO better version that incorporates Marjin's nice upgrades and is easier to use and customize.
– marmot
May 4 at 17:03
@Ana I added an IMHO better version that incorporates Marjin's nice upgrades and is easier to use and customize.
– marmot
May 4 at 17:03
Awesome, thanks!
– Ana
May 4 at 17:08
Awesome, thanks!
– Ana
May 4 at 17:08
add a comment |
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f489098%2fanimating-mindmaps-with-arrows%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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