Upward planar drawings with two slopes

Jonathan Klawitter, Tamara Mchedlidze

Research output: Contribution to journalArticleAcademicpeer-review

Abstract

In an upward planar 2-slope drawing of a digraph, edges are drawn as straight-line segments in the upward direction without crossings using only two different slopes. We investigate whether a given upward planar digraph admits such a drawing and, if so, how to construct it. For the fixed embedding scenario, we give a simple characterisation and a linear-time construction by adopting algorithms from orthogonal drawings. For the variable embedding scenario, we describe a linear-time algorithm for single-source digraphs, a quartic-time algorithm for series-parallel digraphs, and a fixed-parameter tractable algorithm for general digraphs. For the latter two classes, we make use of SPQR-trees and the notion of upward spirality. As an application of this drawing style, we show how to draw an upward planar phylogenetic network with two slopes such that all leaves lie on a horizontal line.
Original languageEnglish
Pages (from-to)171-198
Number of pages28
JournalJournal of Graph Algorithms and Applications
Volume26
Issue number1
DOIs
Publication statusPublished - 2022

Fingerprint

Dive into the research topics of 'Upward planar drawings with two slopes'. Together they form a unique fingerprint.

Cite this