All pastes #596416 Raw Edit

git-history.dot

public c v1 · immutable
#596416 ·published 2007-06-29 22:53 UTC
rendered paste body
// -*- c -*-#if !defined(STAGE)# error STAGE must be defined#endifdigraph "git-history" {  subgraph refs {    node [shape=rectangle,	  fontsize=9, height=.2,	  style=filled,	  fillcolor=yellow];    remote [label="remotes/MYSERVER/master",	    fillcolor=lightblue];    master;  };  subgraph cluster_developer2 {    style=invis;  }  a;#if STAGE == 1  remote -> a;  master -> a;#endif#if STAGE >= 2  b->a [weight=10];# if STAGE == 2  remote -> b;  master -> a;# endif#endif#if STAGE >= 3# if STAGE == 3  remote -> b;  master -> b;# endif#endif#if STAGE >= 4  c->b [weight=10];# if STAGE <8  subgraph cluster_developer2 {    d;  }  d->b;# endif# if STAGE == 4  remote -> c;  master -> d;# endif#endif#if (STAGE >= 5 && STAGE < 7)  subgraph cluster_developer2 {    e;  }  e->{c;d};# if STAGE == 5  remote -> c;  master -> e;# endif# if STAGE >= 6  g->f->c;  subgraph cluster_developer2 {    h;    i;  }  h->e;  i->{h;g};# if STAGE == 6  remote -> g;  master -> i;# endif# endif#elif STAGE >= 7  subgraph cluster_developer2 {    d2;  }  d2->c [weight=0];# if STAGE == 7  d2->d [dir=back, weight=0,	 color=blue, label="rebase"];  d [style=dotted, color=gray];# endif# if STAGE == 7  remote -> c;  master -> d2;# endif#endif#if STAGE >= 8  subgraph cluster_developer2 {    h;  }  h->d2;# if STAGE == 8  remote -> c;  master -> h;# endif#endif#if STAGE >= 9  g->f->c;  subgraph cluster_developer2 {    h2;    d3;  }  h2 -> d3 -> g;  d3->d2 [dir=back, weight=0,	  color=blue, label="rebase"];  d2 [style=dotted, color=gray];  h2->h [dir=back, weight=0,	 color=blue, label="rebase"];  h [style=dotted, color=gray];# if STAGE == 9  remote -> g;  master -> h2;# endif#endif}