A New Approach for Visualizing UML Class Diagrams

C. Gutwenger, M. Jünger, K. Klein, J. Kupke, S. Leipert, P. Mutzel

Published in:
S. Diehl and J. Stasko Editors. SoftVis ’03 : ACM Symposium on Software Visualization ; San Diego, California, USA, June 11 – 13, 2003 ACM 2003, pp. 179-188.

Abstract

UML diagrams have become increasingly important in the engineering and reengineering processes for software systems. Of particular interest are UML class diagrams whose purpose is to display class hierarchies (generalizations), associations, aggregations, and compositions in one picture. The combination of hierarchical and non-hierarchical relations poses a special challenge to a graph layout tool. Existing layout tools treat hierarchical and non-hierarchical relations either alike or as separate tasks in a two-phase process as in, e.g., cite{See97}. We suggest a new approach for visualizing UML class diagrams leading to a balanced mixture of the following aesthetic criteria: Crossing minimization, bend minimization, uniform direction within each class hierarchy, no nesting of one class hierarchy within another, orthogonal layout, merging of multiple inheritance edges, and good edge labelling. We have realized our approach within the graph drawing library GoVisual. Experiments show the superiority to state-of-the-art and industrial standard layouts.

Schreibe einen Kommentar