Files
vpn-dns-gateway/demo/tikzrefinery/documents/assets/design-diagrams/plugin-classes.tex
vsun1 27b82c169e
vpn-dns-gateway/pipeline/head This commit looks good
vpn-dns-gateway/pipeline/pr-main This commit looks good
Add frozen TikZRefinery demo baseline and build pipeline
2026-11-25 22:46:33 -05:00

18 lines
1.7 KiB
TeX

\begin{tikzpicture}
\node[umlClass,text width=7cm,anchor=north] (iface) at (0,0) {\guillemotleft interface\guillemotright\\\textbf{tkrShapeProvider}\\\textit{wider planned contract sketch; v1 separate}
\nodepart{second} Stateless borrowed description/request inputs
\nodepart{third} + describePresentation(description)\\+ availableOperations(description, context)\\+ prepareOperation(request): PreparationResult};
\node[umlClass,text width=7cm,anchor=north] (rectangle) at (0,-7.6) {\textbf{tkrShapeProviderRectangle}\\\textit{planned rename and wider contract sketch}
\nodepart{second} Rectangle geometry/presentation rules\\No document or scene ownership
\nodepart{third} + describePresentation(description)\\+ availableOperations(description, context)\\+ prepareOperation(request)};
\node[umlClass,text width=6.5cm,anchor=north] (service) at (10,0) {\textbf{tkrEditService}\\\textit{current class; planned extension}
\nodepart{second} Borrows provider access; source bindings stay host-side
\nodepart{third} + prepare operation/source candidate\\No live source/history/UI mutation};
\node[umlClass,text width=6.5cm,anchor=north] (document) at (10,-7.6) {\textbf{tkrTikzDocument}\\\textit{current class; guarded acceptance}
\nodepart{second} Owns source/revision/saved baseline\\Owns bounded session history\\Generic transactions remain planned
\nodepart{third} + accept guarded source proposal\\Preparation result is not Applied};
\draw[umlRealization] (rectangle.north) -- (iface.south);
\draw[umlDependency] (service.west) -- ++(-0.6,0) |- node[above,font=\footnotesize,pos=0.7]{Strategy} (iface.east);
\draw[umlDependency] (service.south) -- node[right,font=\footnotesize]{candidate validation} (document.north);
\end{tikzpicture}