30 lines
2.7 KiB
TeX
30 lines
2.7 KiB
TeX
% UML package allocation of current classes; arrows are dependencies.
|
|
\begin{tikzpicture}[font=\small]
|
|
\node[umlPackage,text width=6cm,anchor=north] (view) at (0,0) {\guillemotleft package\guillemotright\ View\\\textbf{Presentation and input}\\[4pt]
|
|
\hyperref[Section:ClassMainWindow]{tkrMainWindow}: assembly, controls, source\\
|
|
\hyperref[Section:ClassDiagramView]{tkrDiagramView}: fit and paper\\
|
|
\hyperref[Section:ClassDiagramScene]{tkrDiagramScene}: items and gestures\\
|
|
\hyperref[Section:CurrentSidebarShell]{tkrWorkspaceSidebar}: page/width state\\
|
|
\hyperref[Section:CurrentSidebarShell]{tkrShapePalette}: provider status\\
|
|
\hyperref[Section:CurrentSidebarShell]{tkrFolderBrowser}: Files/Open shell};
|
|
\node[umlPackage,text width=6cm,anchor=north] (controller) at (9,0) {\guillemotleft package\guillemotright\ Controller\\\textbf{Action coordination}\\[4pt]
|
|
\hyperref[Section:ClassEditorController]{tkrEditorController}\\Current file I/O and save guards\\Coordinate parse, preview and acceptance};
|
|
\node[umlPackage,text width=6cm,anchor=north] (model) at (0,-7.5) {\guillemotleft package\guillemotright\ Model\\\textbf{Authoritative document}\\[4pt]
|
|
\hyperref[Section:ClassTikzDocument]{tkrTikzDocument}\\Source/saved bytes, revision, records\\Guarded batches and session restoration; no Widgets\\
|
|
\hyperref[Section:ClassEditHistory]{tkrEditHistory}: exact snapshots/cursor};
|
|
\node[umlPackage,text width=6cm,anchor=north] (support) at (9,-7.5) {\guillemotleft package\guillemotright\ Support\\\textbf{GUI-independent services}\\[4pt]
|
|
\hyperref[Section:ClassExplicitTikzParser]{tkrTikzParserExplicit}: interpret\\
|
|
\hyperref[Section:ClassCoordinateMapper]{tkrCoordinateMapper}: convert\\
|
|
\hyperref[Section:ClassEditService]{tkrEditService}: delegate/validate/prepare\\
|
|
\hyperref[Section:CurrentProviderClasses]{tkrShapePluginStore}: module binding};
|
|
\draw[draw=tkrBlue,fill=tkrBlue!4] (view.north west) -- ++(0,0.45) -- ++(2,0) -- ++(0,-0.45);
|
|
\draw[draw=tkrBlue,fill=tkrBlue!4] (controller.north west) -- ++(0,0.45) -- ++(2,0) -- ++(0,-0.45);
|
|
\draw[draw=tkrBlue,fill=tkrBlue!4] (model.north west) -- ++(0,0.45) -- ++(2,0) -- ++(0,-0.45);
|
|
\draw[draw=tkrBlue,fill=tkrBlue!4] (support.north west) -- ++(0,0.45) -- ++(2,0) -- ++(0,-0.45);
|
|
\draw[umlDependency] (view.east)--++(0.8,0) |- (controller.west);
|
|
\draw[umlDependency] (view.south)--node[left,font=\footnotesize]{reads state} (model.north);
|
|
\draw[umlDependency] (controller.south)--(support.north);
|
|
\draw[umlDependency] (controller.south west)--++(0,-2.3) -| (model.north east);
|
|
\node[font=\footnotesize,align=center,text width=13cm] at (4.5,-13.2) {Packages express MVC role allocation, not ownership or a C++ namespace change. Lifetime mechanisms remain in the ownership table and class overview.};
|
|
\end{tikzpicture}
|