193 widths.append(currentWidth) |
193 widths.append(currentWidth) |
194 heights.append(currentHeight) |
194 heights.append(currentHeight) |
195 |
195 |
196 # add in some whitespace |
196 # add in some whitespace |
197 width = width * whiteSpaceFactor |
197 width = width * whiteSpaceFactor |
198 ## rawHeight = height |
|
199 height = height * whiteSpaceFactor - 20 |
198 height = height * whiteSpaceFactor - 20 |
200 ## verticalWhiteSpace = max( |
|
201 ## (height - rawHeight) / (len(generations) - 1.0 or 2.0), |
|
202 ## 40.0 |
|
203 ## ) |
|
204 verticalWhiteSpace = 40.0 |
199 verticalWhiteSpace = 40.0 |
205 |
200 |
206 sceneRect = self.umlView.sceneRect() |
201 sceneRect = self.umlView.sceneRect() |
207 width += 50.0 |
202 width += 50.0 |
208 height += 50.0 |
203 height += 50.0 |