Add frozen TikZRefinery demo baseline and build pipeline
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
% Source-based snapshot restoration; generic transactions have a separate planned view.
|
||||
\begin{tikzpicture}[font=\footnotesize,seqLabel/.style={font=\footnotesize,fill=none,align=center,inner sep=2pt}]
|
||||
\foreach \name/\x/\title in {w/0/{Window: tkrMainWindow},c/5/{Controller: tkrEditorController},p/10/{Candidate: tkrTikzDocument},d/15/{Live: tkrTikzDocument}} {
|
||||
\node[draw=tkrBlue,fill=tkrBlue!8,text width=4.1cm,align=center,minimum height=0.9cm] (\name) at (\x,0) {\title};
|
||||
\draw[dashed,gray] (\x,-0.5)--(\x,-12.9);
|
||||
}
|
||||
\draw[flow] (0,-1.2)--node[seqLabel,above]{Undo / Redo action}(5,-1.2);
|
||||
\node[seqLabel,text width=4.3cm,anchor=west] at (5.2,-2.0) {Cancel active preview; copy the live document into a candidate.};
|
||||
\draw[flow] (5,-3.1)--node[seqLabel,above]{restoreHistory(direction)}(10,-3.1);
|
||||
\node[seqLabel,text width=7cm,anchor=west] at (10.2,-4.0) {Candidate's owned tkrEditHistory supplies exact target bytes and moves only its candidate cursor. Append no new entry.};
|
||||
\draw[tkrBlue] (-2.2,-5.1) rectangle (17.3,-12.5);
|
||||
\node[seqLabel,anchor=west,text=tkrBlue] at (-2.1,-5.4) {alt [target available and candidate parse/display validated]};
|
||||
\draw[flow] (5,-6.3)--node[seqLabel,above]{acceptPreparedState(candidate, expectedRevision)}(15,-6.3);
|
||||
\draw[flow,dashed] (15,-7.2)--node[seqLabel,above]{source + records + existing history cursor; advance revision}(5,-7.2);
|
||||
\draw[flow] (5,-8.1)--node[seqLabel,above]{documentChanged()}(0,-8.1);
|
||||
\node[seqLabel,text width=15cm] at (7.5,-9.0) {Compare source with saved baseline; refresh canvas, source, dirty flag and actions. Write no disk file. Save retains session history; successful Open replaces it.};
|
||||
\draw[dashed,tkrBlue] (-2.2,-10.0)--(17.3,-10.0);
|
||||
\node[seqLabel,anchor=west,text=tkrBlue] at (-2.1,-10.3) {[unavailable target / preparation or acceptance failure]};
|
||||
\draw[flow] (5,-11.2)--node[seqLabel,above]{unchanged result / failure status}(0,-11.2);
|
||||
\node[seqLabel,text width=15cm] at (7.5,-12.0) {Preserve live source/history/revision. Unavailable actions are disabled; failed restoration reports a reason.};
|
||||
\end{tikzpicture}
|
||||
Reference in New Issue
Block a user