Code:
\documentclass[a4paper, 12pt]{scrreprt}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[ngerman]{babel}
\usepackage{tikz}
\usetikzlibrary{arrows}
\begin{document}
\tikzstyle{int}=[draw, fill = blue!20, minimum size=1.3cm]
\begin{figure}[H]
\centering
\fbox{
\begin{tikzpicture}[node distance=3cm, auto]
\node (a) [int] {a};
%\node (b)[left of=a, node distance=4cm, coordinate] {a};
\node (c) [int] at (4,3) {b};
\node (d) [int] at (8,3) {\parbox{3cm}{sehr langes\\ wort}};
\node (e) [int] at (4,-3) {c};
\node (f) [int] at (8,0) {d};
\node (g) [circle, fill=gray!30] at (8,-3) {e};
% \node (h) [int] at (4,6) {f};
\node (i) [int] at (8,6) {g};
\node (j) [circle, fill=gray!30] at (12,6) {h};
\draw [<->, blue, very thick] (a) to node [above,midway] {int. Profibus} (f) ;
\draw [<->, magenta, very thick] (a) to [out=45, in=225] node [sloped,midway, below] {Profibus} (c);
\draw [<->, magenta, very thick] (c) to [out=315, in=225] (d);
\draw [<->, magenta, very thick] (a) to [out=315, in=135] node [sloped,midway, above] {Profibus} (e) ;
\draw [<->, magenta, very thick] (e) to [out=43, in=135] (g);
\draw [<->, green, very thick, out=90, in=180] (a) to node [above,sloped,midway] {DRIVE-CLiQ} (i);
\draw [<->, green, very thick] (i) to [out=315, in=225] (j);
\draw [<->, orange, very thick] (i) to [out=45, in=135] node [midway, above] {Leistungskabel} (j);
\end{tikzpicture}
}
\caption{Verkabelung}
\label{fig:Profibus_1}
\end{figure}
\end{document}
PS: Bitte benutze die Code-Umgebung zum Posten von Latex-Code (#-Button). Die HTML-Formatierung wirft sonst einiges durcheinander.
Lesezeichen