Lecture Notes in Computer Science Volume 2265, 2002, pp 16-30
Date: 21 Feb 2002

How to Layer a Directed Acyclic Graph

* Final gross prices may vary according to local VAT.

Get Access


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.