Changeset 15351 for branches/HeuristicLab.EvolutionTracking/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Views/3.4/LayoutEngines
- Timestamp:
- 09/06/17 20:51:26 (7 years ago)
- Location:
- branches/HeuristicLab.EvolutionTracking/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Views
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.EvolutionTracking/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Views
- Property svn:mergeinfo changed
-
branches/HeuristicLab.EvolutionTracking/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Views/3.4/LayoutEngines/ReingoldTilfordLayoutEngine.cs
r10649 r15351 60 60 SecondWalk(layoutRoot, -layoutRoot.Prelim); 61 61 NormalizeCoordinates(layoutNodeMap.Values); 62 if ( height != 0 && width !=0) {62 if (width > 0 && height > 0) { 63 63 FitToBounds(width, height, layoutNodeMap.Values); 64 64 Center(width, height, layoutNodeMap.Values); … … 178 178 if (ymax < y) ymax = y; 179 179 } 180 return new RectangleF(xmin, ymin, xmax + minHorizontalSpacing + NodeWidth, ymax + minVerticalSpacing+ NodeHeight);180 return new RectangleF(xmin, ymin, xmax + NodeWidth, ymax + NodeHeight); 181 181 } 182 182
Note: See TracChangeset
for help on using the changeset viewer.