mirror of
https://github.com/MartinThoma/LaTeX-examples.git
synced 2025-04-19 11:38:05 +02:00
16 lines
804 B
TeX
16 lines
804 B
TeX
\documentclass[varwidth=true, border=14pt]{standalone}
|
|
|
|
\usepackage{tikz}
|
|
\usetikzlibrary{shapes,snakes,shapes.geometric,positioning,decorations.text}
|
|
|
|
\begin{document}
|
|
\tikzstyle{arrow}=[bend left,->,very thick, line cap=round]
|
|
\begin{tikzpicture}[node distance=2cm]
|
|
\node[ellipse,draw,minimum width=80pt,minimum height=20pt,fill=gray!5] (a) {Agent};
|
|
\node[ellipse,draw,minimum width=80pt,minimum height=20pt,fill=gray!5,below of=a] (u) {Umwelt};
|
|
|
|
% Arrows
|
|
\draw[arrow,postaction={decorate,decoration={text along path,raise=0.08cm,text align=center,text={Aktion {$a_k$}}}}] (a.east) to node {} (u.east);
|
|
\draw[arrow,postaction={decorate,decoration={text along path,raise=0.08cm,text align=center,text={Beob. {$z_k$}}}}] (u.west) to node {} (a.west);
|
|
\end{tikzpicture}
|
|
\end{document}
|