Zitat von
tral
Sollte mit tikz recht einfach zu realisieren sein...
Christian.
Z.b. so:
Code:
\documentclass[11pt]{scrartcl}
\usepackage{selinput}
\SelectInputMappings{
adieresis={ä},
germandbls={ß},
Euro={€}
}
\usepackage[ngerman]{babel}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage{tikz}
\usetikzlibrary{arrows,decorations}
\begin{document}
\tikzstyle{arrow} = [draw, -latex', line join=round]
\tikzstyle{doublearrow} = [draw, latex'-latex', line join=round]
\tikzstyle{line} = [draw, line join=round]
\tikzstyle{dashedline} = [draw, line join=round,dash pattern=on 4pt off 2pt on 2pt off 2pt]
\begin{tikzpicture}[node distance=0.5cm and 0.5cm]
\path [doublearrow] (0.2cm,11.5cm) to node [sloped,above] {Three-Way Handshake} (7.8cm,11.5cm);
\path [arrow] (0cm,11cm) -- (0cm,0cm);
\path [arrow] (8cm,11cm) -- (8cm,0cm);
\path [arrow] (0.2cm,10cm) to node [sloped,above] {I would like to talk to Alice.} node [sloped,below] {SYN = 1, SEQ\# 10} (7.8cm,7cm);
\path [arrow] (7.8cm,6.8cm) to node [sloped,above] {OK, let's talk Bob!} node [sloped,below] {SYN = 1, ACK = 1, SEQ\# 11} (0.2cm,3.8cm);
\path [arrow] (0.2cm,3.6cm) to node [sloped,above] {OK, thanks Alice.} node [sloped,below] {ACK = 1, SEQ\# 11} (7.8cm,0.6cm);
\node [anchor=north] at (0cm,0cm) {Time};
\node [anchor=north] at (8cm,0cm) {Time};
\end{tikzpicture}
\end{document}
Lesezeichen