From: Riaan B. <riaan@e.co.za> - 2001-09-15 11:33:42
|
Hi Mike, Very, very, cool! Huge improvement! I've fixed some bugs (not in your code!) that handles loading and saving of positions, please do a cvs update. "Mike C. Fletcher" wrote: > > Attached find a module implementing a topologically sorted UML view > subclassed from Views.OGLViews.UMLView The topological sorting makes the > initial view of the UML diagram considerably more user-friendly, as the > diagram is laid out such that superclasses are always above their > subclasses. I've also added layout logic such that the scrolled window is > sized to the diagram (it might be preferable to size to the maximum of the > diagram or physical window size). > > There are certainly ways you could improve on this formatting, but for me, > this is sufficient to make the view usable as an overview mechanism, so I > don't have any plans to improve the formatting further. Deep hierarchies a handled better than wide ones (look at Companions.py) No ideas from my side how to improve this tho. > > To see the module in action, modify Controllers.py line 170 to include > UMLView2.UMLView2 in the list of AdditionalViews as indicated by Riaan in > his previous message (yes, your instructions were helpful, thanks Riaan). I'll add them to the Docs. > > Enjoy yourselves, > Mike > Should I merge your changes into UMLView or do still want to change something? Thanks again for the contribution! -- Riaan Booysen ___________________________________________________ Boa Constructor - RAD GUI building IDE for wxPython http://boa-constructor.sourceforge.net |