Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
02/21/13 16:16:21 (12 years ago)
Author:
bburlacu
Message:

#1772: Minor updates to existing views. Added LineageExplorerView.

Location:
branches/HeuristicLab.EvolutionaryTracking/HeuristicLab.EvolutionaryTracking.Views/3.4
Files:
4 added
4 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.EvolutionaryTracking/HeuristicLab.EvolutionaryTracking.Views/3.4

    • Property svn:ignore
      •  

        old new  
        11obj
         2*.resx
  • branches/HeuristicLab.EvolutionaryTracking/HeuristicLab.EvolutionaryTracking.Views/3.4/GenealogyGraphChart.cs

    r9084 r9239  
    4747      internal set {
    4848        graph = value;
     49        if (graph == null) return;
    4950        // TODO: should move the subtree sorting code out of here and int the view
    5051        var canonicalSorter = new SymbolicExpressionTreeCanonicalSorter();
     
    172173
    173174      DrawLineage(visualNode, n => n.IncomingArcs, a => a.Source);
     175      visualNode.Brush = null;
    174176      DrawLineage(visualNode, n => n.OutgoingArcs, a => a.Target);
    175177
     
    186188                             Func<VisualGenealogyGraphNode, IEnumerable<VisualGenealogyGraphArc>> arcSelector,
    187189                             Func<VisualGenealogyGraphArc, VisualGenealogyGraphNode> nodeSelector) {
     190      if (node.Brush != null) return;
    188191      node.Brush = new SolidBrush(node.Data.GetColor());
    189192      var arcs = arcSelector(node);
     193      if (arcs == null) return;
    190194      foreach (var arc in arcs) {
    191195        var source = arc.Source.Data;
  • branches/HeuristicLab.EvolutionaryTracking/HeuristicLab.EvolutionaryTracking.Views/3.4/GenealogyGraphView.cs

    r9084 r9239  
    108108      if (arc == null) return;
    109109      var fragment = (IFragment)arc.Data;
     110      if (fragment.Root == null) return;
    110111      foreach (var node in fragment.Root.IterateNodesBreadth()) {
    111112        var visualSymbExprTreeNode = symbolicExpressionTreeChart.GetVisualSymbolicExpressionTreeNode(node);
  • branches/HeuristicLab.EvolutionaryTracking/HeuristicLab.EvolutionaryTracking.Views/3.4/HeuristicLab.EvolutionaryTracking.Views-3.4.csproj

    r8556 r9239  
    9494      <DependentUpon>GenealogyGraphChart.cs</DependentUpon>
    9595    </Compile>
     96    <Compile Include="GenealogyGraphDialog.cs" />
     97    <Compile Include="GenealogyGraphDialog.designer.cs">
     98      <DependentUpon>GenealogyGraphDialog.cs</DependentUpon>
     99    </Compile>
    96100    <Compile Include="GenealogyGraphView.cs">
    97101      <SubType>UserControl</SubType>
     
    99103    <Compile Include="GenealogyGraphView.Designer.cs">
    100104      <DependentUpon>GenealogyGraphView.cs</DependentUpon>
     105    </Compile>
     106    <Compile Include="LineageExplorerView.cs">
     107      <SubType>UserControl</SubType>
     108    </Compile>
     109    <Compile Include="LineageExplorerView.Designer.cs">
     110      <DependentUpon>LineageExplorerView.cs</DependentUpon>
    101111    </Compile>
    102112    <Compile Include="Plugin.cs" />
     
    112122  <ItemGroup>
    113123    <ProjectReference Include="..\..\HeuristicLab.EvolutionaryTracking\3.4\HeuristicLab.EvolutionaryTracking-3.4.csproj">
    114       <Project>{1F75CEA3-464F-4A6F-B2F0-04B9841EBC16}</Project>
     124      <Project>{1f75cea3-464f-4a6f-b2f0-04b9841ebc16}</Project>
    115125      <Name>HeuristicLab.EvolutionaryTracking-3.4</Name>
    116126    </ProjectReference>
     
    124134  </ItemGroup>
    125135  <ItemGroup>
     136    <EmbeddedResource Include="GenealogyGraphDialog.resx">
     137      <DependentUpon>GenealogyGraphDialog.cs</DependentUpon>
     138    </EmbeddedResource>
    126139    <EmbeddedResource Include="GenealogyGraphView.resx">
    127140      <DependentUpon>GenealogyGraphView.cs</DependentUpon>
     141    </EmbeddedResource>
     142    <EmbeddedResource Include="LineageExplorerView.resx">
     143      <DependentUpon>LineageExplorerView.cs</DependentUpon>
    128144    </EmbeddedResource>
    129145    <EmbeddedResource Include="Properties\Resources.resx">
Note: See TracChangeset for help on using the changeset viewer.