Changeset 9963 for branches/HeuristicLab.EvolutionaryTracking/HeuristicLab.EvolutionaryTracking.Views/3.4/GenealogyGraphView.cs
- Timestamp:
- 09/13/13 14:42:38 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.EvolutionaryTracking/HeuristicLab.EvolutionaryTracking.Views/3.4/GenealogyGraphView.cs
r9835 r9963 231 231 232 232 private void highlightRootParentsButton_Click(object sender, EventArgs e) { 233 var nodes = genealogyGraphChart.Graph.Nodes.Where(n => n.InEdges != null && n.InEdges.Count == 2).Select(n => (SymbolicExpression GenealogyGraphNode)n.InEdges[0].Source).ToList();233 var nodes = genealogyGraphChart.Graph.Nodes.Where(n => n.InEdges != null && n.InEdges.Count == 2).Select(n => (SymbolicExpressionTreeGenealogyGraphNode)n.InEdges[0].Source).ToList(); 234 234 genealogyGraphChart.HighlightNodes(nodes); 235 235 } 236 236 237 237 private void highlightSecondaryParentsButton_Click(object sender, EventArgs e) { 238 var nodes = genealogyGraphChart.Graph.Nodes.Where(n => n.InEdges != null && n.InEdges.Count == 2).Select(n => (SymbolicExpression GenealogyGraphNode)n.InEdges[1].Source).ToList();238 var nodes = genealogyGraphChart.Graph.Nodes.Where(n => n.InEdges != null && n.InEdges.Count == 2).Select(n => (SymbolicExpressionTreeGenealogyGraphNode)n.InEdges[1].Source).ToList(); 239 239 genealogyGraphChart.HighlightNodes(nodes); 240 240 }
Note: See TracChangeset
for help on using the changeset viewer.