# HG changeset patch # User Martin Geisler # Date 1250537960 -7200 # Node ID 702b05343bf6289d2a575ac4185f7fbf0417268b # Parent a0326fb9f8adbcf017538e4c413fa05f3dcf2c1f Add more network topologies to DVCS slide. diff --git a/mercurial.tex b/mercurial.tex --- a/mercurial.tex +++ b/mercurial.tex @@ -388,19 +388,26 @@ \begin{frame}{Distributed Revision Control} Mercurial duplicates the history on many servers: \begin{center} - \begin{tikzpicture}[start chain] + \begin{tikzpicture}[start chain, bend angle=10] \tikzstyle{every node}=[repository, minimum height=18mm, text width=15mm,] \tikzstyle{every path}=[<->] - \node (a) at (4,5) {Alice}; - \node (l) at (0,6) {Alice's Laptop}; - \node (b) at (1,1) {Bob}; - \node (c) at (7,2) {Carla}; + \node (a) at ( 90:3) {Alice}; + \node (b) at (210:3) {Bob}; + \node (c) at (-30:3) {Carla}; + \draw<1-2> (a) -- (b); + \draw<1-2> (b) -- (c); + \draw<1-2> (c) -- (a); - \draw (a) -- (l); - \draw (a) -- (b); - \draw (b) -- (c); - \draw (c) -- (a); + \node<2->[overlay] (l) at ([xshift=3cm] a) {Alice's Laptop}; + \draw<2-> (a) -- (l); + + \node<3-> (r) at (0, 0) {Server}; + \draw<3-> (a) -- (r); + \draw<3-> (b) to[bend left] (r); + \draw<3-> (c) to[bend right] (r); + + \draw<4-> (b) to[bend right] (c); \end{tikzpicture} \end{center} \end{frame}