diff grapher.h @ 185:ec2baee80833

* Some rather uncertain modifications to grapher logic for branch homes -- try to place branches close to their "parent branches". Have also experimented with placing popular branches closer to the centre; neither is definitively better. Also, make changeset placement tend towards the branch home for the changeset
author Chris Cannam
date Sun, 19 Dec 2010 19:12:52 +0000
parents 70fe12873106
children 8fd71f570884
line wrap: on
line diff
--- a/grapher.h	Sun Dec 19 19:11:23 2010 +0000
+++ b/grapher.h	Sun Dec 19 19:12:52 2010 +0000
@@ -88,7 +88,7 @@
     void layoutCol(QString id);
     void allocateBranchHomes(Changesets csets);
     bool rangesConflict(const Range &r1, const Range &r2);
-    int findAvailableColumn(int row, int parent, bool preferParentCol);
+    int findAvailableColumn(int row, int parent, int sign, bool preferParentCol);
     bool isAvailable(int row, int col);
 };