25 lines
1.8 KiB
TeX
25 lines
1.8 KiB
TeX
\begin{tikzpicture}[font=\small]
|
|
\node[umlPackage,text width=6cm,anchor=north] (view) at (0,0)
|
|
{\guillemotleft package\guillemotright\ View\\\textbf{Presentation/input}\\
|
|
MainWindow; scene; diagram view\\Sidebar, palette, folder browser shells\\Planned catalogue/creation extensions};
|
|
\node[umlPackage,text width=6cm,anchor=north] (control) at (9,0)
|
|
{\guillemotleft package\guillemotright\ Controller\\\textbf{Document-action coordination}\\
|
|
tkrEditorController\\Coordinate edit/open/save requests\\Window handles existing unsaved prompts};
|
|
\node[umlPackage,text width=6cm,anchor=north] (model) at (0,-5.5)
|
|
{\guillemotleft package\guillemotright\ Model\\\textbf{Authoritative document}\\
|
|
tkrTikzDocument\\Source, revision, accepted identities\\Guarded acceptance; session history\\Generic transaction extension planned};
|
|
\node[umlPackage,text width=6cm,anchor=north] (support) at (9,-5.5)
|
|
{\guillemotleft package\guillemotright\ Host services/providers\\\textbf{Bounded collaborators}\\
|
|
Catalogue; module store; shape provider\\Edit service; syntax route; mapper\\No sidebar layout or file-tree gestures};
|
|
\foreach \panelName in {view,control,model,support}
|
|
\draw[draw=tkrBlue,fill=tkrBlue!4] (\panelName.north west)--++(0,0.4)--++(2,0)--++(0,-0.4);
|
|
\draw[umlDependency] (view.east)--(control.west);
|
|
\draw[umlDependency] (view.south)--node[left,font=\footnotesize]{reads} (model.north);
|
|
\draw[umlDependency] (control.south)--(support.north);
|
|
\draw[umlDependency] (control.south west)--++(0,-0.5) -| (model.north east);
|
|
\draw[umlDependency] (view.north)--++(0,0.8)--(13.2,0.8)--(13.2,-4.9)-| (support.north east);
|
|
\node[font=\footnotesize,align=center,text width=13cm] at (4.5,-11.3)
|
|
{Planned allocation. Window ownership does not make module management a View responsibility.\\
|
|
The ownership view records lifetimes separately.};
|
|
\end{tikzpicture}
|