Mercurial > hg > mercurial-talk
changeset 288:779241e34bc9
Show unstable -> stable line
author | Martin Geisler <mg@lazybytes.net> |
---|---|
date | Sun, 03 Apr 2011 23:44:48 +0200 |
parents | eed493fcae6b |
children | 73670404b9e4 |
files | workflow-team.tex |
diffstat | 1 files changed, 10 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/workflow-team.tex +++ b/workflow-team.tex @@ -2,20 +2,23 @@ Mercurial scales from a single team\dots: \begin{center} \begin{tikzpicture} - \tikzstyle{every node}=[repository, minimum height=18mm, text width=12mm] - \tikzstyle{every path}=[<->, short] + \tikzstyle{repository}+=[minimum height=18mm, text width=12mm] - \node (a) at (120:2) {Alice}; - \node (b) at (240:2) {Bob}; - \node (c) at ( 0:2) {Dev}; + \node[repository] (a) at (120:2) {Alice}; + \node[repository] (b) at (240:2) {Bob}; + \node[repository] (c) at ( 0:2) {Dev}; - \node[right=of c] (t) {Test}; - \node[right=of t] (p) {Prod}; + \node[repository, right=of c] (t) {Test}; + \node[repository, right=of t] (p) {Prod}; \draw[short, <->] (a) -- (c); \draw[short, <->] (b) -- (c); \draw[short, <->] (c) -- (t); \draw[short, <->] (t) -- (p); + + \draw<2>[alert, very thick, ->] (b.west |- 0, -3cm) -- + node[very near start, below] {unstable} + node[very near end, below] {stable} (p.east |- 0, -3cm); \end{tikzpicture} \end{center} \end{frame}