Changeset 10728 for branches/HeuristicLab.EvolutionTracking/HeuristicLab.Problems.DataAnalysis.Symbolic.Views/3.4/FragmentGraphView.cs
- Timestamp:
- 04/07/14 17:05:31 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.EvolutionTracking/HeuristicLab.Problems.DataAnalysis.Symbolic.Views/3.4/FragmentGraphView.cs
r10685 r10728 54 54 55 55 var fragmentRoot = tileDictionary[root]; 56 int maxTileWidth = 0, maxTileHeight = 0; 57 foreach (var tile in Content.Nodes.Select(x => tileDictionary[x].Tile)) { 58 var size = tile.Size; 59 if (maxTileWidth < size.Width) maxTileWidth = size.Width; 60 if (maxTileHeight < size.Height) maxTileHeight = size.Height; 61 } 62 layoutEngine.NodeWidth = maxTileWidth; 63 layoutEngine.NodeHeight = maxTileHeight; 64 layoutEngine.HorizontalSpacing = PreferredSpacing; 65 layoutEngine.VerticalSpacing = PreferredSpacing; 66 56 67 var visualNodes = layoutEngine.CalculateLayout(fragmentRoot); 57 68 … … 62 73 symbolicExpressionChartControl.Add(tile); 63 74 } 75 // symbolicExpressionChartControl.FlipVertical(); 64 76 symbolicExpressionChartControl.UpdateEnabled = true; 65 77 symbolicExpressionChartControl.EnforceUpdate();
Note: See TracChangeset
for help on using the changeset viewer.