Flussdiagramm im Querformat

Formelsatz für Mathematik, Naturwissenschaften und Technik


Raphi
Forum-Anfänger
Forum-Anfänger
Beiträge: 14
Registriert: Di 18. Aug 2015, 09:04

Flussdiagramm im Querformat

Beitrag von Raphi »

Hallo ich suche nach einer möglichkeit ein Flussdiagramm im Querformat zu erstellen. Mein Flussdiagramm ist mit tikz erstellt und im Beispiel vereinfacht dargestellt.
Gibt es eine Möglichkeit die gesammte darstellung um 90° zu drehen ?
\documentclass{article}

\usepackage[latin1]{inputenc}
\usepackage{tikz}
\usetikzlibrary{shapes,arrows}
\begin{document}
\pagestyle{empty}



   
\begin{tikzpicture}
[auto,
block/.style ={rectangle, draw, thick, fill=gray!10, text width=12em, text centered, rounded corners, minimum height=3em, node distance = 1.5cm},
coor/.style ={ draw, thick, },
line/.style ={draw, thick, -latex',shorten >=0pt},
cloud/.style ={draw=red, thick, ellipse, fill=red!20, minimum height=4em}]

\node [block] (1) {\textbf{Bauteil}};
\node [block, right of=1, node distance=7cm] (1-1) {Form / Geometrie};
%\node [block, below of=1-1,] (1-2) {Große (Lange/Breite/Hohe)};
\node [block, below of=1-1,] (2-1) {Warmeausdehnungs- koeffizient $\alpha_T$};
\node [block, left of=2-1, node distance= 7cm] (2) {\textbf{Material}};
\node [block, below of=2,] (2--) {Verarbeitungstemperatur};
\node [block, below of=2-1,] (2-2) {Druckbetttemperatur};
\node [block, below of=2-2,] (2-3) {Druckgeschwindigkeit};

\path [line] (1) -- (1-1);
%\path [line] (1) -- (1-2);
\path [line] (2) -- (2--);
\path [line] (2) -- (2-1);
\path [line] (2) -- (2-2);
\path [line] (2--) -- (2-3);

\end{tikzpicture}

\end{document}
Danke gruß raphi
Zuletzt geändert von Raphi am Fr 20. Nov 2015, 13:35, insgesamt 1-mal geändert.

Benutzeravatar
u_fischer
Forum-Meister
Forum-Meister
Beiträge: 4267
Registriert: Do 22. Nov 2012, 11:09
Kontaktdaten:

Beitrag von u_fischer »

Du solltest deine Beispiele testen, bevor du sie sendest.

Raphi
Forum-Anfänger
Forum-Anfänger
Beiträge: 14
Registriert: Di 18. Aug 2015, 09:04

Beitrag von Raphi »

Sorry jetzt geht es weis dazu nimand etwas ?

esdd
Forum-Meister
Forum-Meister
Beiträge: 2561
Registriert: So 7. Feb 2010, 16:36

Beitrag von esdd »

Das hängt von dem ab, was Du erreichen möchtest. Es gibt verschiedene Möglichkeiten:

Mit rotate=90, transform shape
\documentclass{article} 
\usepackage[latin1]{inputenc} 
\usepackage{tikz} 
\usetikzlibrary{shapes,arrows} 


\usepackage{blindtext}% nur für Fülltext
\begin{document} 
\pagestyle{empty} 

\blindtext
\begin{center}
\begin{tikzpicture} 
[
 rotate=90,transform shape,%<- 
 auto, 
 block/.style ={rectangle, draw, thick, fill=gray!10, text width=12em, text centered, rounded corners, minimum height=3em, node distance = 1.5cm}, 
 coor/.style ={ draw, thick, }, 
 line/.style ={draw, thick, -latex',shorten >=0pt}, 
 cloud/.style ={draw=red, thick, ellipse, fill=red!20, minimum height=4em}] 

\node [block] (1) {\textbf{Bauteil}}; 
\node [block, right of=1, node distance=7cm] (1-1) {Form / Geometrie}; 
%\node [block, below of=1-1,] (1-2) {Große (Lange/Breite/Hohe)}; 
\node [block, below of=1-1,] (2-1) {Warmeausdehnungs- koeffizient $\alpha_T$}; 
\node [block, left of=2-1, node distance= 7cm] (2) {\textbf{Material}}; 
\node [block, below of=2,] (2--) {Verarbeitungstemperatur}; 
\node [block, below of=2-1,] (2-2) {Druckbetttemperatur}; 
\node [block, below of=2-2,] (2-3) {Druckgeschwindigkeit}; 

\path [line] (1) -- (1-1); 
%\path [line] (1) -- (1-2); 
\path [line] (2) -- (2--); 
\path [line] (2) -- (2-1); 
\path [line] (2) -- (2-2); 
\path [line] (2--) -- (2-3); 

\end{tikzpicture}
\end{center}
\blindtext
\end{document} 
mit \rotatebox{90}
\documentclass{article} 
\usepackage[latin1]{inputenc} 
\usepackage{tikz} 
\usetikzlibrary{shapes,arrows} 


\usepackage{blindtext}% nur für Fülltext
\begin{document} 
\pagestyle{empty} 

\blindtext
\begin{center}
\rotatebox{90}{\begin{tikzpicture} 
[
 auto, 
 block/.style ={rectangle, draw, thick, fill=gray!10, text width=12em, text centered, rounded corners, minimum height=3em, node distance = 1.5cm}, 
 coor/.style ={ draw, thick, }, 
 line/.style ={draw, thick, -latex',shorten >=0pt}, 
 cloud/.style ={draw=red, thick, ellipse, fill=red!20, minimum height=4em}] 

\node [block] (1) {\textbf{Bauteil}}; 
\node [block, right of=1, node distance=7cm] (1-1) {Form / Geometrie}; 
%\node [block, below of=1-1,] (1-2) {Große (Lange/Breite/Hohe)}; 
\node [block, below of=1-1,] (2-1) {Warmeausdehnungs- koeffizient $\alpha_T$}; 
\node [block, left of=2-1, node distance= 7cm] (2) {\textbf{Material}}; 
\node [block, below of=2,] (2--) {Verarbeitungstemperatur}; 
\node [block, below of=2-1,] (2-2) {Druckbetttemperatur}; 
\node [block, below of=2-2,] (2-3) {Druckgeschwindigkeit}; 

\path [line] (1) -- (1-1); 
%\path [line] (1) -- (1-2); 
\path [line] (2) -- (2--); 
\path [line] (2) -- (2-1); 
\path [line] (2) -- (2-2); 
\path [line] (2--) -- (2-3); 

\end{tikzpicture}}
\end{center}
\blindtext
\end{document} 
oder auf einer Extraseite mit dem Paket pdflscape
\documentclass{article} 
\usepackage{pdflscape}
\usepackage[latin1]{inputenc} 
\usepackage{tikz} 
\usetikzlibrary{shapes,arrows} 

\usepackage{blindtext}% nur für Fülltext
\begin{document} 
\pagestyle{empty} 
\blindtext
\begin{landscape}
\begin{center}
\begin{tikzpicture} 
[
 auto, 
 block/.style ={rectangle, draw, thick, fill=gray!10, text width=12em, text centered, rounded corners, minimum height=3em, node distance = 1.5cm}, 
 coor/.style ={ draw, thick, }, 
 line/.style ={draw, thick, -latex',shorten >=0pt}, 
 cloud/.style ={draw=red, thick, ellipse, fill=red!20, minimum height=4em}] 

\node [block] (1) {\textbf{Bauteil}}; 
\node [block, right of=1, node distance=7cm] (1-1) {Form / Geometrie}; 
%\node [block, below of=1-1,] (1-2) {Große (Lange/Breite/Hohe)}; 
\node [block, below of=1-1,] (2-1) {Warmeausdehnungs- koeffizient $\alpha_T$}; 
\node [block, left of=2-1, node distance= 7cm] (2) {\textbf{Material}}; 
\node [block, below of=2,] (2--) {Verarbeitungstemperatur}; 
\node [block, below of=2-1,] (2-2) {Druckbetttemperatur}; 
\node [block, below of=2-2,] (2-3) {Druckgeschwindigkeit}; 

\path [line] (1) -- (1-1); 
%\path [line] (1) -- (1-2); 
\path [line] (2) -- (2--); 
\path [line] (2) -- (2-1); 
\path [line] (2) -- (2-2); 
\path [line] (2--) -- (2-3); 

\end{tikzpicture}
\end{center}
\end{landscape}
\blindtext
\end{document} 
und vermutlich gibt es noch weiter Möglichkeiten.

Raphi
Forum-Anfänger
Forum-Anfänger
Beiträge: 14
Registriert: Di 18. Aug 2015, 09:04

Beitrag von Raphi »

Danke für die Aufzählung an verschiedenen Möglichkeiten!!!

LG Raphi

Raphi
Forum-Anfänger
Forum-Anfänger
Beiträge: 14
Registriert: Di 18. Aug 2015, 09:04

Beitrag von Raphi »

Hallo habe leider doch nochmal eine frage.
Gibt es die möglichkeit gestrichelte linen zusammen zu legen?

In meinem Flussdiagramm sind einige strichlinen die zum selben block führen ab dem zeitpunkt der zusammenführung wird aus den gestrichellten lienen eine durchgezogene :(
\documentclass{article} 
\usepackage[latin1]{inputenc} 
\usepackage{tikz} 
\usetikzlibrary{shapes,arrows} 


\usepackage{blindtext}% nur für Fülltext
\begin{document} 
\pagestyle{empty} 

\blindtext
\begin{center}
\rotatebox{90}{\begin{tikzpicture} 
[ auto,
         block1/.style ={rectangle, draw, thick, fill=gray!10, text width=12em, text centered, rounded corners, minimum height=3em, node distance = 2.cm},
         block/.style ={rectangle, draw, thick, text width=12em, text centered, rounded corners, minimum height=3em, node distance = 2.cm},
         coor/.style ={ draw, thick, },
         line/.style ={draw, thick, -latex',shorten >=0pt},
         cloud/.style ={draw=red, thick, ellipse, fill=red!20, minimum height=4em}]
         
         \node [block1] (1) {\textbf{Bauteil} Auslegung};
         \node [block, below of=1,]    (1-1) {Form / Geometrie};
	     \node [block, below of=1-1,]  (1-2) {Grose};
         \node [block1, right of=1, node distance=7cm] (2) {\textbf{Material}};
         \node [block, below of=2,] (2-1) {Kristallinitat};
         \node [block, below of=2-1,] (2-2) {Warmausdehnungs- koeffizient $\alpha_T$};
         \node [block, below of=2-2,]     (2-3) {Verarbeitungstemperatur};
         \node [block, below of=2-3,] (2-4) {hjl};
         \node [block1, right of=2, node distance=7cm] (3) {\textbf{ddd}};
         \node [block, below of=3,]     (3-1) {D};
         \node [block, below of=3-1,] (3-2) {D2};
         \node [block, below of=3-2,] (3-3) {D3};
         \node [block, below of=3-3,] (3-4) {D4};
         \node [block, below of=3-4,] (3-5) {D5};
         \node [block, below of=3-5,] (3-6) {A1};
         
         \path [line] (1.west) -- +(-1em,0)|- (1-1);
         \path [line] (1.west) -- +(-1em,0)|- (1-2);
         \path [line] (1) -- (2);
         \path [line] (2.west) -- +(-1em,0)|- (2-1);
         \path [line] (2.west) -- +(-1em,0)|- (2-2);
         \path [line] (2.west) -- +(-1em,0)|- (2-3);
         \path [line] (2.west) -- +(-1em,0)|- (2-4);
       %  \path [line] (2.west) -- +(-1em,0)|- (2-4);
         \path [line] (2) -- (3);
         \path [line] (3.west) -- +(-1em,0)|- (3-1);
         \path [line] (3.west) -- +(-1em,0)|- (3-2);
         \path [line] (3.west) -- +(-1em,0)|- (3-3);
         \path [line] (3.west) -- +(-1em,0)|- (3-4);
         \path [line] (3.west) -- +(-1em,0)|- (3-5);
         \path [line] (3.west) -- +(-1em,0)|- (3-6);
            
         
			\path [line,dashed] (2-1) --  (2-2);
         \path [line,dashed] (2-3.east) -- +(1em,0)|- (3-3.west);
         \path [line,dashed] (2-3.east) -- +(1em,0)|- (3-4.west);
         \path [line,dashed] (2-4) |- (3-5.west);
         \path [line,dashed] (1-1.east) -- +(1em,0)|- (3-5);
         \path [line,dashed] (1-2.east) -- +(1em,0)|- (3-5);
         \path [line,dashed] (3-1.north) -- +(0,1em)-| (2-1.north);
         \path [line,dashed] (3-2) --  (3-3);
         \path [line,dashed] (3-2.east) -- +(1em,0)|- (3-4.east);
         \path [line,dashed] (3-3) --  (3-4);

\end{tikzpicture}}
\end{center}
\blindtext
\end{document}

esdd
Forum-Meister
Forum-Meister
Beiträge: 2561
Registriert: So 7. Feb 2010, 16:36

Beitrag von esdd »

Was haben die gestrichelten Linien mit der Drehung der Zeichnung zu tun? Das ist eine neue Frage, für die Du zukünftig besser einen neuen Thread aufmachst, sonst wird das hier schnell unübersichtlich. Und sieh Dir bitte auch an, was der Status »Rückfrage« bedeutet.

Bei gestrichelten Linien wechselt ein kurzer Strich mit einem Freiraum ab. Wenn Du mehrere mir unterschiedlichem Startpunkt zusammenführst, können diese Intervalle so verschoben sein, dass der Strich der einen Linie in die Lücke der anderen fällt. Im Ergebnis hast Du dann scheinbar eine durchgezogene Linie. In Deinem Beispiel kannst Du das vermeiden, in dem Du gestrichelte Linien jeweils nur einmal zeichnest und die anderen Linien schon an dem Zusammenführungspunkt enden lässt.
          \path [line,dashed] (2-1) --  (2-2); 
          \path [line,dashed] (2-3.east) -- +(1em,0)|- (3-3.west); 
          \path [line,dashed] (2-3.east) +(1em,0)|- (3-4.west); % <-
          \path [line,dashed,-] (2-4) -- (2-4|-3-5.west); % <-
          \path [line,dashed] (1-1.east) -- +(1em,0)|- (3-5); 
          \path [line,dashed,-] (1-2.east) -- +(1em,0); %<-
          \path [line,dashed] (3-1.north) -- +(0,1em)-| (2-1.north); 
          \path [line,dashed] (3-2) --  (3-3); 
          \path [line,dashed] (3-2.east) -- +(1em,0)|- (3-4.east); 
          \path [line,dashed] (3-3) --  (3-4); 

Raphi
Forum-Anfänger
Forum-Anfänger
Beiträge: 14
Registriert: Di 18. Aug 2015, 09:04

Beitrag von Raphi »

Oh sorry es war eigentlich meine absicht hier zu fragen um für mehr Ordnung zu sorgen aber jetzt weis ich in zunkunft bescheid !
Danke für die schnelle Antwort

Antworten