Files
vpn-dns-gateway/demo/tikzrefinery/documents/assets/design-diagrams/element-contracts.tex
T
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}[font=\small]
\node[umlSummary,anchor=north] (syntax) at (0,0) {\textbf{Syntax provider}\\\textit{reviewed role; planned API}
\nodepart{second} Interpret supported source/context.\\Bind source; prepare local rewrites.};
\node[umlSummary,anchor=north] (element) at (8,0) {\textbf{Element provider}\\\textit{reviewed role; planned API}
\nodepart{second} Consume interpreted descriptions.\\Describe display, hits and edit intents.};
\node[umlClass,text width=13.9cm,anchor=north] (records) at (4,-4) {\guillemotleft dataType\guillemotright\\\textbf{Shared data records}\\\textit{planned schemas; not behavior classes}
\nodepart{second} ElementDescription: identity/revision/type, geometry, text/appearance\\SourceBinding: provider, source ranges and rewrite information\\AttachmentRecord: revision-scoped host and relative placement\\PresentationDescription: draw/hit geometry, readable description\\AvailableOperations: intent and per-binding constraints
\nodepart{third} No graphics-item pointer or direct mutation authority.\\Document coordinates remain independent of zoom/pan.};
\node[umlSummary,anchor=north] (core) at (0,-12) {\textbf{Core edit service / document}
\nodepart{second} Coordinate and validate proposal.\\Accept source and history atomically.};
\node[umlSummary,anchor=north] (scene) at (8,-12) {\textbf{Scene}
\nodepart{second} Create and own graphics items.\\Display/selection and gesture feedback.};
\draw[umlDependency] (syntax.south) -- ++(0,-0.7) -| (records.north west);
\draw[umlDependency] (element.south) -- ++(0,-0.7) -| (records.north east);
\draw[umlDependency] (core.north) -- ++(0,0.7) -| (records.south west);
\draw[umlDependency] (scene.north) -- ++(0,0.7) -| (records.south east);
\end{tikzpicture}