For Authors_For Subscribers_For Librarians_For SocietiesFor Advertisers

Home | About Us | Contact Us | Site Map | FAQs

journal home
 
Services for Readers
Services for authors
Customer Services


Autumn 2004, Volume 3, Number 3, Pages 189-208
Table of contents   Previous  Full text  Next   PDF
Original Article
Automatic layout of UML class diagrams in orthogonal style
Markus Eiglsperger1, Carsten Gutwenger2, Michael Kaufmann1, Joachim Kupke2, Michael Jünger3, Sebastian Leipert2, Karsten Klein2, Petra Mutzel4 and Martin Siebenhaller1

1Universität Tübingen, Germany

2Research Center Caesar, Bonn, Germany

3University of Cologne, Germany

4Vienna University of Technology, Vienna, Austria

Correspondence to: Petra Mutzel, Vienna University of Technology, Favoritenstrae 9-11 E186, A-1040 Wien, Austria. Tel: +43 1 58801 18614; Fax: +43 1 58801 18699; E-mail: mutzel@ads.tuwien.ac.at

Abstract

Unified modelling language (UML) diagrams have become increasingly important in engineering and re-engineering processes for software systems. Of particular interest are UML class diagrams whose purpose is to display generalizations, associations, aggregations, and compositions in one picture. The combination of directed and undirected relations poses a special challenge to a graph layout tool. Current approaches for the automatic layout of class diagrams are based on the layered graph drawing paradigm. These algorithms produce good results for class diagrams with large and deep structural information, that is, diagrams with a large and deep inheritance hierarchy. However, they do not perform satisfactorily in absence of this information.

We suggest to use the topology-shape¾metrics paradigm for automatic layout of class diagrams, which has been used very successfully for drawing undirected graphs in orthogonal style. Moreover, we introduce the algorithms UML-Kandinsky and GoVisual fitting into this paradigm. Both algorithms work for class diagrams with rich structural information as well as for class diagrams with few or no structural information. Therefore, they improve the existing algorithms significantly.

Information Visualization (2004) 3, 189-208. doi:10.1057/palgrave.ivs.9500078
Published online 22 July 2004

Keywords

Software visualization; graph drawing; graph layout; UML class diagram

Received 7 November 2003; revised 14 May 2004; accepted 15 May 2004; published online 22 July 2004
Table of contents   Previous  Full text  Next   PDF