JAL-1291 TODO: revised graphGroup model so grouped graphs are more efficiently rendered
authorJim Procter <jprocter@compbio.dundee.ac.uk>
Fri, 24 May 2013 12:34:55 +0000 (13:34 +0100)
committerJim Procter <jprocter@compbio.dundee.ac.uk>
Fri, 24 May 2013 14:10:56 +0000 (15:10 +0100)
src/jalview/gui/AnnotationLabels.java
src/jalview/renderer/AnnotationRenderer.java

index ec56388..8566e57 100755 (executable)
@@ -931,6 +931,7 @@ public class AnnotationLabels extends JPanel implements MouseListener,
         if (aa[i].graphGroup > -1)
         {
           int groupSize = 0;
+          // TODO: JAL-1291 revise rendering model so the graphGroup map is computed efficiently for all visible labels
           for (int gg = 0; gg < aa.length; gg++)
           {
             if (aa[gg].graphGroup == aa[i].graphGroup)
index dd275bd..6ed2b9f 100644 (file)
@@ -631,6 +631,7 @@ public class AnnotationRenderer
         {
           if (row.graphGroup > -1 && !graphGroupDrawn.get(row.graphGroup))
           {
+            // TODO: JAL-1291 revise rendering model so the graphGroup map is computed efficiently for all visible labels
             float groupmax = -999999, groupmin = 9999999;
             for (int gg = 0; gg < aa.length; gg++)
             {