Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
02/02/15 17:23:33 (9 years ago)
Author:
bburlacu
Message:

#1772: Improved functionality of the SymbolicDataAnalysisGenealogyGraphView in terms of graph navigation and display of useful information. Fixed save of tree image to file in the SymbolicExpressionTreeChart.

Location:
branches/HeuristicLab.EvolutionTracking/HeuristicLab.EvolutionTracking.Views/3.4
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.EvolutionTracking/HeuristicLab.EvolutionTracking.Views/3.4/GenealogyGraphChart.cs

    r11852 r11864  
    5757        return SelectedVisualNode == null ? null : SelectedVisualNode.Data;
    5858      }
     59      set {
     60        SelectedVisualNode = GetMappedNode(value);
     61        UpdateSelectedVisualNode();
     62      }
    5963    }
    6064
     
    215219      if (SelectedVisualNode == null) return;
    216220
     221      UpdateSelectedVisualNode(); // redraw ancestries, mark node etc.
     222
     223      base.pictureBox_MouseUp(sender, e);
     224    }
     225
     226    private void UpdateSelectedVisualNode() {
    217227      if (!LockGenealogy) {
    218228        // new node has been selected, clean up
     
    238248
    239249      if (SelectedVisualNode != null)
    240         OnGenealogyGraphNodeClicked(SelectedVisualNode, e); // emit clicked event
    241 
    242       base.pictureBox_MouseUp(sender, e);
     250        OnGenealogyGraphNodeClicked(SelectedVisualNode, null); // emit clicked event
    243251    }
    244252    #endregion
Note: See TracChangeset for help on using the changeset viewer.