\begin{tikzpicture}[font=\footnotesize] \node[initial] (start) at (0,0) {}; \node[activity,text width=5.4cm] (choose) at (0,-1) {Author chooses a catalogue/provider entry}; \node[choice,text width=2.3cm] (support) at (0,-2.4) {Host support available?}; \node[activitySide,text width=3.4cm] (unavailable) at (7,-2.4) {Explain unavailable creation; preserve source and selection mode}; \node[activity,text width=5.4cm] (gesture) at (0,-4.1) {Activate one-placement tool. Click for defaults or drag opposite corners; provider previews under host constraints}; \node[choice,text width=2.3cm] (cancel) at (0,-5.8) {Escape?}; \node[activitySide,text width=3.4cm] (restore) at (7,-5.8) {Discard preview; preserve source; return to selection}; \node[activity,text width=5.4cm] (prepare) at (0,-7.6) {Provider prepares geometry; host prepares syntax insertion in a supported context}; \node[choice,text width=2.5cm] (prepared) at (0,-9.4) {Preparation succeeds?}; \node[activity,text width=5.4cm] (document) at (0,-11.1) {Document validates the guarded source candidate}; \node[choice,text width=2.3cm] (accepted) at (0,-12.8) {Accepted?}; \node[activitySide,text width=3.4cm] (retry) at (7,-10.2) {Preserve source; explain the completed attempt once; keep creation tool for retry}; \node[activity,text width=5.4cm] (finish) at (0,-14.5) {Assign accepted identity; select new element; return to selection}; \node[final] (end) at (0,-15.8) {}; \node[final] (unavailableEnd) at (10,-2.4) {}; \node[final] (cancelEnd) at (10,-5.8) {}; \draw[flow] (start)--(choose); \draw[flow] (choose)--(support); \draw[flow] (support.south)--node[right]{[yes]} (gesture.north); \draw[flow] (support.east)--node[above]{[no]} (unavailable.west); \draw[flow] (unavailable.east)--(unavailableEnd); \draw[flow] (gesture)--(cancel); \draw[flow] (cancel.east)--node[above]{[yes]} (restore.west); \draw[flow] (restore.east)--(cancelEnd); \draw[flow] (cancel.south)--node[right]{[no / complete attempt]} (prepare.north); \draw[flow] (prepare)--(prepared); \draw[flow] (prepared.east)--node[above]{[no]} (3.8,-9.4) |- (retry.west); \draw[flow] (prepared.south)--node[right]{[yes]} (document.north); \draw[flow] (document)--(accepted); \draw[flow] (accepted.east)--node[above]{[rejected]} (7,-12.8)--(retry.south); \draw[flow] (retry.east)--++(2.3,0) |- (gesture.east); \draw[flow] (accepted.south)--node[right]{[yes]} (finish.north); \draw[flow] (finish)--(end); \end{tikzpicture}