Abstract
Hierarchical graphs and clustered graphs are useful non-classical graph models for structured relational information. Hierarchical graphs are graphs with layering structures; clustered graphs are graphs with recursive clustering structures. Both have applications in CASE tools, software visualization and VLSI design. Drawing algorithms for hierarchical graphs have been well investigated. However, the problem of planar straight-line representation has not been solved completely. In this paper we answer the question: does every planar hierarchical graph admit a planar straight-line hierarchical drawing? We present an algorithm that constructs such drawings in linear time. Also, we answer a basic question for clustered graphs, that is, does every planar clustered graph admit a planar straight-line drawing with clusters drawn as convex polygons? We provide a method for such drawings based on our algorithm for hierarchical graphs.
Similar content being viewed by others
Author information
Authors and Affiliations
Corresponding authors
Rights and permissions
About this article
Cite this article
Eades, P., Feng, Q., Lin, X. et al. Straight-Line Drawing Algorithms for Hierarchical Graphs and Clustered Graphs. Algorithmica 44, 1–32 (2006). https://doi.org/10.1007/s00453-004-1144-8
Received:
Revised:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s00453-004-1144-8