30 lines
1.6 KiB
TeX
30 lines
1.6 KiB
TeX
\begin{tikzpicture}
|
|
\node[ucActor] (author) at (0,0) {\guillemotleft actor\guillemotright\\TikZ author};
|
|
\node[ucGoal] (goal) at (7,0) {\UseCaseRef{UC-002}\\Move or resize an object};
|
|
\node[ucNote,below=0.7cm of goal] (normal) {
|
|
\textbf{Main interaction}\par
|
|
The author drags supported geometry and sees immediate canvas feedback.
|
|
Change only necessary coordinates; retain unrelated source. Future compilation follows successful Save, not pointer movement or release.
|
|
};
|
|
\node[ucNote,below=0.55cm of normal] (gestures) {
|
|
\textbf{Supported gestures}\par
|
|
Line or arrow body: translate both endpoints equally.\par
|
|
Planned endpoint handle: move only the selected endpoint.\par
|
|
Rectangle: body move or corner resize; crossing flips around the fixed corner.
|
|
Retain $0.01$ cm minimum dimensions and constrain boundary release.
|
|
Zoom does not change source coordinates.
|
|
};
|
|
\node[ucNote,below=0.55cm of gestures] (alternative) {
|
|
\textbf{Alternative and outcome}\par
|
|
If mapping or provider operations are unavailable, block the edit and explain why. No silent provider substitution.
|
|
The canvas, source, and compiled preview agree on the supported edit,
|
|
or the original source remains intact.
|
|
};
|
|
\draw[ucBoundary] (2,-1 |- alternative.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) |- (gestures.east);
|
|
\draw[ucAnnotation] (goal.west) -- (2.15,0) |- (alternative.west);
|
|
\end{tikzpicture}
|