Graphics, Figures & TablesTikz mind map library, node connection problems

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
Redwaza
Posts: 3
Joined: Wed Jun 03, 2015 10:08 am

Tikz mind map library, node connection problems

Post by Redwaza »

Hello,

I am new to tikz libraries and I am experiencing some problems using the mind map library. First of all I built the computer science mind map example which I have attached an image of below.
computer_science
computer_science
Screen Shot 2015-06-03 at 11.12.01.png (200.43 KiB) Viewed 3803 times
However, the node connections at the nodes are not the same colors as the nodes themselves.. The previews of this example I have seen so far are different and look better..Here is what the connection is like:
computer_science_zoomed
computer_science_zoomed
Screen Shot 2015-06-03 at 11.12.34.png (11.15 KiB) Viewed 3803 times
Then I also have a few children that are shared by the same node that I wanted to connect to each. Thus, I used the command '\path (n1c2) to [circle connection bar switch color=from (blue) to (green)] (n1c1c1);' to connect the nodes. The colors were again the same as illustrated above but there was one extra problem: some different color sections (e.g. grey) that could be seen at the connection points, as can be seen from the screenshot below:
manual_connections
manual_connections
Screen Shot 2015-06-03 at 11.09.57.png (104.39 KiB) Viewed 3803 times
I was also wondering if it is possible to remove completely the node's outer border so that only the filled color is present. Here is what I have right now, which in my opinion would look better if the border is completely removed.
outer_border
outer_border
Screen Shot 2015-06-03 at 11.22.05.png (358.01 KiB) Viewed 3803 times
Thank you very much for your time, I really appreciate your help! Any responses are welcome!
Best,
-Redwaza

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Redwaza
Posts: 3
Joined: Wed Jun 03, 2015 10:08 am

Re: Tikz mind map library, node connection problems

Post by Redwaza »

I am not sure how to edit my own post so I am going to ask one more question as a reply :D Can anybody tell me how I can alter the length of the node connector at an individual level? I want only one node to be further that the specified distance that I have set for all nodes.

Thanks :-)
herciliomc
Posts: 1
Joined: Sat Jun 06, 2015 4:14 pm

Tikz mind map library, node connection problems

Post by herciliomc »

I am having similar problems with the connections of the mind map. But I can at least help you with your question about the length of the node connector.

You can alter that with the level distance directive.

Ex:
child { node[font=\bfseries,concept,text width=2.5cm] {Methodology} }% No adjustment on the length of the connector
child[level distance=4cm] { node[font=\bfseries,concept,text width=2.5cm] {Methodology} }% now the length of the connector is 4cm
Redwaza
Posts: 3
Joined: Wed Jun 03, 2015 10:08 am

Re: Tikz mind map library, node connection problems

Post by Redwaza »

Ye.. It is annoying. I still have not got it to work so any help is still appreciated. Herciliomc, thanks for your response. It was really helpful and got the length to work now as I wanted it :) I had put the level distance argument in the wrong place somehow, not in the bracket under the child, so it wasn't obviously working then :D
Post Reply