Changeset 13061 for branches/HeuristicLab.EvolutionTracking/HeuristicLab.Problems.DataAnalysis.Symbolic.Views/3.4
- Timestamp:
- 10/23/15 16:22:22 (9 years ago)
- Location:
- branches/HeuristicLab.EvolutionTracking/HeuristicLab.Problems.DataAnalysis.Symbolic.Views
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.EvolutionTracking/HeuristicLab.Problems.DataAnalysis.Symbolic.Views
- Property svn:mergeinfo changed (with no actual effect on merging)
-
branches/HeuristicLab.EvolutionTracking/HeuristicLab.Problems.DataAnalysis.Symbolic.Views/3.4/Tracking/SymbolicDataAnalysisGenealogyGraphView.cs
r12406 r13061 139 139 var subtreeIndex = graphNode.Data.IterateNodesPrefix().ToList().IndexOf(node); 140 140 var traceGraph = TraceCalculator.TraceSubtree(graphNode, subtreeIndex, updateVertexWeights: false, updateSubtreeWeights: false, cacheTraceNodes: true); 141 genealogyGraphChart. UpdateEnabled = false;141 genealogyGraphChart.SuspendRendering(); 142 142 genealogyGraphChart.ClearPrimitives(); // clear everything 143 143 var rankMaximums = new Dictionary<double, double>(); … … 177 177 } 178 178 } 179 genealogyGraphChart.UpdateEnabled = true; 180 genealogyGraphChart.EnforceUpdate(); 179 genealogyGraphChart.ResumeRendering(); 181 180 } else { 182 181 // perform matching like it was done before … … 218 217 219 218 switch (args.Button) { 220 case MouseButtons.Left: { 219 case MouseButtons.Left: 220 { 221 221 OnTreeNodeLeftClicked(subtree); 222 222 break; 223 223 } 224 case MouseButtons.Middle: { 224 case MouseButtons.Middle: 225 { 225 226 OnTreeNodeMiddleClicked(subtree); 226 227 break; … … 243 244 244 245 private void graphChart_HighlightMatchingVertices(IEnumerable<IGenealogyGraphNode> vertices) { 245 genealogyGraphChart. Chart.UpdateEnabled = false;246 genealogyGraphChart.SuspendRendering(); 246 247 genealogyGraphChart.ClearPrimitives(); 247 248 genealogyGraphChart.HighlightNodes(vertices); 248 genealogyGraphChart.Chart.UpdateEnabled = true; 249 genealogyGraphChart.Chart.EnforceUpdate(); 249 genealogyGraphChart.ResumeRendering(); 250 250 } 251 251
Note: See TracChangeset
for help on using the changeset viewer.