20 lines
1.4 KiB
TeX
20 lines
1.4 KiB
TeX
\begin{tikzpicture}
|
|
\node[ucActor] (author) at (0,0) {\guillemotleft actor\guillemotright\\TikZ author};
|
|
\node[ucGoal] (goal) at (7,0) {\UseCaseRef{UC-005}\\Reposition an attached label};
|
|
\node[ucNote,below=0.7cm of goal] (normal) {
|
|
\textbf{Main interaction}\par Select the label and preview movement in either canvas axis. Its syntax binding prepares local placement changes; the document accepts source and history together, then the canvas refreshes.
|
|
};
|
|
\node[ucNote,below=0.55cm of normal] (alternative) {
|
|
\textbf{Alternative: Cancellation or unsupported movement}\par Cancel restores the preview. Unsupported movement is unavailable with a reason; a completed rejected edit shows one red-accented message. Preserve shared definitions and host geometry.
|
|
};
|
|
\node[ucNote,below=0.55cm of alternative] (outcome) {
|
|
\textbf{Outcome}\par One accepted local edit retains attachment and unrequested text, rotation, anchor, alignment and styling. Undo restores the complete prior source; drag distance never implies detachment.
|
|
};
|
|
\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}
|