From: Mike C. F. <mcf...@ho...> - 2001-09-14 08:18:42
|
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. 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). Enjoy yourselves, Mike -----Original Message----- From: boa...@li... [mailto:boa...@li...]On Behalf Of Riaan Booysen Sent: September 13, 2001 05:44 To: mcf...@ho... Cc: Boa Constructor (E-mail) Subject: Re: [Boa Constr] UML Topological sort, where to put it? Hi Mike, ... Thanks, hope this helps and more questions welcome! ... |