Commit 2a03be28 authored by Taddeüs Kroes's avatar Taddeüs Kroes

Adapted diagrams using new component names.

parent 58861614
......@@ -65,33 +65,34 @@
\newcommand{\completediagrams}{
\begin{figure}[H]
\hspace{-2.3em}
\subfigure[Architecture using a single widget. Dotted arrows represent
gestures, normal arrows represent events (unless labeled
otherwise).]{
\subfigure[Architecture using a single widget, demonstration gesture
delegation from the widget to the application. Dotted arrows
represent gestures, regular arrows represent events (unless
labeled otherwise).]{
\architecture{
\node[block, below of=driver] (eventserver) {Event server}
\node[block, below of=driver] (eventdriver) {Event driver}
edge[linefrom] node[right, near end] {driver-specific messages} (driver);
\node[block, below of=eventserver] (widget) {Widget}
edge[linefrom] (eventserver);
\node[block, below of=eventdriver] (widget) {Widget}
edge[linefrom] (eventdriver);
\node[block, right of=widget, xshift=5em] (tracker) {Gesture tracker}
edge[lineto, dotted, bend left=10] (widget)
edge[linefrom, bend right=10] (widget);
\node[block, below of=widget] {Application}
edge[linefrom, dotted] (widget);
edge[linefrom, dotted] node[right, near start] {delegation} (widget);
\group{eventserver}{eventserver}{tracker}{tracker}{Architecture}
\group{eventdriver}{eventdriver}{tracker}{tracker}{Architecture}
}
}
\hspace{1.5em}
\subfigure[Architecture using a sub widget. Dotted arrows represent
gestures, normal arrows represent events (unless labeled
otherwise).]{
\subfigure[Architecture using a sub widget, demonstrating gesture
propagation. Dotted arrows represent gestures, regular arrows
represent events (unless labeled otherwise).]{
\architecture{
\node[block, below of=driver] (eventserver) {Event server}
\node[block, below of=driver] (eventdriver) {Event driver}
edge[linefrom] node[right, near end] {driver-specific messages} (driver);
\node[block, below of=eventserver] (rootwidget) {Root widget}
edge[linefrom] (eventserver);
\node[block, below of=eventdriver] (rootwidget) {Root widget}
edge[linefrom] (eventdriver);
\node[block, below of=rootwidget] (subwidget) {Sub widget}
edge[linefrom] (rootwidget)
......@@ -108,7 +109,7 @@
edge[linefrom, dotted, bend left=60] (rootwidget)
edge[linefrom, dotted] (subwidget);
\group{subwidget}{eventserver}{tracker}{subwidget}{Architecture}
\group{subwidget}{eventdriver}{tracker}{subwidget}{Architecture}
}
}
\end{figure}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment