25 lines
1.3 KiB
TeX
25 lines
1.3 KiB
TeX
\begin{tikzpicture}
|
|
\node[ucActor] (author) at (0,0) {\guillemotleft actor\guillemotright\\TikZ author};
|
|
\node[ucGoal] (goal) at (7,0) {\UseCaseRef{UC-003}\\Save revised source};
|
|
\node[ucNote,below=0.7cm of goal] (normal) {
|
|
\textbf{Main interaction}\par
|
|
With a revised source document open for review, the author chooses Save.
|
|
TikZRefinery writes the reviewed source locally and reports success.
|
|
};
|
|
\node[ucNote,below=0.55cm of normal] (alternative) {
|
|
\textbf{Alternative: write fails}\par
|
|
Report the failure and keep the unsaved revision available.
|
|
};
|
|
\node[ucNote,below=0.55cm of alternative] (outcome) {
|
|
\textbf{Successful outcome}\par
|
|
The saved TikZ source can be reopened and compiled with the local toolchain.
|
|
Unrelated source and session history are preserved. External compilation is manual today; planned integration schedules compilation only after successful Save.
|
|
};
|
|
\draw[ucBoundary] (2,-1 |- outcome.south) ++(0,-0.45) rectangle (12.1,1.65);
|
|
\node[anchor=west,font=\bfseries,text=tkrBlue] at (2.3,1.25) {TikZRefinery};
|
|
\draw[ucAssociation] (author.east) -- (goal.west);
|
|
\draw[ucAnnotation] (goal.south) -- ++(0,-0.25) -| (normal.north);
|
|
\draw[ucAnnotation] (goal.east) -- (11.9,0) |- (alternative.east);
|
|
\draw[ucAnnotation] (goal.west) -- (2.15,0) |- (outcome.west);
|
|
\end{tikzpicture}
|