Graph Drawing

Volume 2265 of the series Lecture Notes in Computer Science pp 16-30


How to Layer a Directed Acyclic Graph

  • Patrick HealyAffiliated withCSIS Department, University of Limerick
  • , Nikola S. NikolovAffiliated withCSIS Department, University of Limerick


We consider the problem of partitioning a directed acyclic graph into layers such that all edges point unidirectionally. We perform an experimental analysis of some of the existing layering algorithms and then propose a new algorithm that is more realistic in the sense that it is possible to incorporate specific information about node and edge widths into the algorithm. The goal is to minimize the total sum of edge spans subject to dimension constraints on the drawing. We also present some preliminary results from experiments we have conducted using our layering algorithm on over 5900 example directed acyclic graphs.