Graphics, Figures & Tablesishikawa Tikz diagram

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
gerold
Posts: 1
Joined: Tue Jun 16, 2015 2:13 pm

ishikawa Tikz diagram

Post by gerold »

i would like to create a ishikawa diagram (fishbone) like the following one:
Image

I've tried to realize it with Tikz but it seems like a bit difficult.

Code: Select all

\tikzset{
  ishikawa/.style = {align=center, inner sep=0pt, text centered,
    %font=\sffamily
    },
  matter/.style={	% Wirkung=Betrachtete Störgröße
  rectangle,minimum size=6mm,very thick,draw=red!70!black!40,top color=white,bottom color=red!50!black!20,font=\itshape
  },
  level_1/.style={		% Haupteinflussfaktoren
  ellipse,node distance=60pt,minimum size=6mm,very thick,draw=red!50!black!50,top color=white,bottom color=red!50!black!20,font=   \itshape
  },
  level_2/.style={		% Nebeneinflussfaktoren
  rectangle,minimum size=6mm,font=\itshape,font=\tiny
  }
}
\begin{tikzpicture}[->,>=stealth',level/.style={sibling distance = 5cm/#1,
  level distance = 1.5cm}
]
 	\node (Grund)		[matter]	at ( 12,0)		{CPA};
	%	\path[draw,->] (0,0) -- (Grund)
 		\draw [->,very thick] ( 0,0) -- (Grund);
	\node (tl_1_1)		[level_1]	at ( 0,5)		{Material};
	\node (bl_1_1)		[level_1]	at ( 0,-5)		{Methode};
	%	child{ node [level_2] {msndfbdejfsdlfksf}}
	\node (tl_1_2)		[level_1, right=of tl_1_1]	{Maschine};
	%	child{ node [level_2] {msndfbdejfsdlfksf}}
	\node (bl_1_2)		[level_1, right=of bl_1_1]	{Mensch};
%		child{ node [level_2] {msndfbdejfsdlfksf}}
	\node (tl_1_3)		[level_1, right=of tl_1_2]	{Messtechnik};
	%	child{ node [level_2] {msndfbdejfsdlfksf}}
	\node (bl_1_3)		[level_1, right=of bl_1_2]	{Mitwelt};
%		child{ node [level_2] {msndfbdejfsdlfksf}}
\end{tikzpicture}]
This produces my top level boxes but I don't know how to draw a path from there to my main arrow. The same problem also for the lower level arrows.

Can someone help me out?!

cheers Gerold

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

Stefan Kottwitz
Site Admin
Posts: 10334
Joined: Mon Mar 10, 2008 9:44 pm

ishikawa Tikz diagram

Post by Stefan Kottwitz »

Hi Gerold,

welcome to the forum!

I see that you are writing in German. So you could also post to our German language partner forum TeXwelt.de. I know there are TikZ experts frequenting the TeXwelt site.

Stefan
LaTeX.org admin
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

ishikawa Tikz diagram

Post by Johannes_B »

The question has now been posted at TeXwelt.de.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10334
Joined: Mon Mar 10, 2008 9:44 pm

ishikawa Tikz diagram

Post by Stefan Kottwitz »

On TeXwelt.de there's now an excellent solution by Qrrbrbirlbel.

It produces:

Image

It's pretty difficult to understand :shock: but very clever :mrgreen:

Stefan
LaTeX.org admin
Post Reply