33 research outputs found
Upward Book Embeddings of st-Graphs
We study k-page upward book embeddings (kUBEs) of st-graphs, that is, book embeddings of single-source single-sink directed acyclic graphs on k pages with the additional requirement that the vertices of the graph appear in a topological ordering along the spine of the book. We show that testing whether a graph admits a kUBE is NP-complete for k >= 3. A hardness result for this problem was previously known only for k = 6 [Heath and Pemmaraju, 1999]. Motivated by this negative result, we focus our attention on k=2. On the algorithmic side, we present polynomial-time algorithms for testing the existence of 2UBEs of planar st-graphs with branchwidth b and of plane st-graphs whose faces have a special structure. These algorithms run in O(f(b)* n+n^3) time and O(n) time, respectively, where f is a singly-exponential function on b. Moreover, on the combinatorial side, we present two notable families of plane st-graphs that always admit an embedding-preserving 2UBE
Computing k-Modal Embeddings of Planar Digraphs
Given a planar digraph G and a positive even integer k, an embedding of G in the plane is k-modal, if every vertex of G is incident to at most k pairs of consecutive edges with opposite orientations, i.e., the incoming and the outgoing edges at each vertex are grouped by the embedding into at most k sets of consecutive edges with the same orientation. In this paper, we study the k-Modality problem, which asks for the existence of a k-modal embedding of a planar digraph. This combinatorial problem is at the very core of a variety of constrained embedding questions for planar digraphs and flat clustered networks.
First, since the 2-Modality problem can be easily solved in linear time, we consider the general k-Modality problem for any value of k>2 and show that the problem is NP-complete for planar digraphs of maximum degree Delta <= k+3. We relate its computational complexity to that of two notions of planarity for flat clustered networks: Planar Intersection-Link and Planar NodeTrix representations. This allows us to answer in the strongest possible way an open question by Di Giacomo [https://doi.org/10.1007/978-3-319-73915-1_37], concerning the complexity of constructing planar NodeTrix representations of flat clustered networks with small clusters, and to address a research question by Angelini et al. [https://doi.org/10.7155/jgaa.00437], concerning intersection-link representations based on geometric objects that determine complex arrangements. On the positive side, we provide a simple FPT algorithm for partial 2-trees of arbitrary degree, whose running time is exponential in k and linear in the input size. Second, motivated by the recently-introduced planar L-drawings of planar digraphs [https://doi.org/10.1007/978-3-319-73915-1_36], which require the computation of a 4-modal embedding, we focus our attention on k=4. On the algorithmic side, we show a complexity dichotomy for the 4-Modality problem with respect to Delta, by providing a linear-time algorithm for planar digraphs with Delta <= 6. This algorithmic result is based on decomposing the input digraph into its blocks via BC-trees and each of these blocks into its triconnected components via SPQR-trees. In particular, we are able to show that the constraints imposed on the embedding by the rigid triconnected components can be tackled by means of a small set of reduction rules and discover that the algorithmic core of the problem lies in special instances of NAESAT, which we prove to be always NAE-satisfiable - a result of independent interest that improves on Porschen et al. [https://doi.org/10.1007/978-3-540-24605-3_14]. Finally, on the combinatorial side, we consider outerplanar digraphs and show that any such a digraph always admits a k-modal embedding with k=4 and that this value of k is best possible for the digraphs in this family
Vertex Disjoint Path in Upward Planar Graphs
The -vertex disjoint paths problem is one of the most studied problems in
algorithmic graph theory. In 1994, Schrijver proved that the problem can be
solved in polynomial time for every fixed when restricted to the class of
planar digraphs and it was a long standing open question whether it is
fixed-parameter tractable (with respect to parameter ) on this restricted
class. Only recently, \cite{CMPP}.\ achieved a major breakthrough and answered
the question positively. Despite the importance of this result (and the
brilliance of their proof), it is of rather theoretical importance. Their proof
technique is both technically extremely involved and also has at least double
exponential parameter dependence. Thus, it seems unrealistic that the algorithm
could actually be implemented. In this paper, therefore, we study a smaller
class of planar digraphs, the class of upward planar digraphs, a well studied
class of planar graphs which can be drawn in a plane such that all edges are
drawn upwards. We show that on the class of upward planar digraphs the problem
(i) remains NP-complete and (ii) the problem is fixed-parameter tractable.
While membership in FPT follows immediately from \cite{CMPP}'s general result,
our algorithm has only single exponential parameter dependency compared to the
double exponential parameter dependence for general planar digraphs.
Furthermore, our algorithm can easily be implemented, in contrast to the
algorithm in \cite{CMPP}.Comment: 14 page
Planar L-Drawings of Directed Graphs
We study planar drawings of directed graphs in the L-drawing standard. We
provide necessary conditions for the existence of these drawings and show that
testing for the existence of a planar L-drawing is an NP-complete problem.
Motivated by this result, we focus on upward-planar L-drawings. We show that
directed st-graphs admitting an upward- (resp. upward-rightward-) planar
L-drawing are exactly those admitting a bitonic (resp. monotonically
increasing) st-ordering. We give a linear-time algorithm that computes a
bitonic (resp. monotonically increasing) st-ordering of a planar st-graph or
reports that there exists none.Comment: Appears in the Proceedings of the 25th International Symposium on
Graph Drawing and Network Visualization (GD 2017
Extending Upward Planar Graph Drawings
In this paper we study the computational complexity of the Upward Planarity
Extension problem, which takes in input an upward planar drawing of
a subgraph of a directed graph and asks whether can be
extended to an upward planar drawing of . Our study fits into the line of
research on the extensibility of partial representations, which has recently
become a mainstream in Graph Drawing.
We show the following results.
First, we prove that the Upward Planarity Extension problem is NP-complete,
even if has a prescribed upward embedding, the vertex set of coincides
with the one of , and contains no edge.
Second, we show that the Upward Planarity Extension problem can be solved in
time if is an -vertex upward planar -graph. This
result improves upon a known -time algorithm, which however applies to
all -vertex single-source upward planar graphs.
Finally, we show how to solve in polynomial time a surprisingly difficult
version of the Upward Planarity Extension problem, in which is a directed
path or cycle with a prescribed upward embedding, contains no edges, and no
two vertices share the same -coordinate in
Algorithms for Incremental Planar Graph Drawing and Two-page Book Embeddings
Subject of this work are two problems related to ordering the vertices
of planar graphs. The first one is concerned with the properties of
vertex-orderings that serve as a basis for incremental drawing algorithms.
Such a drawing algorithm usually extends a drawing by adding the vertices
step-by-step as provided by the ordering. In the field of graph drawing
several orderings are in use for this purpose. Some of them, however,
lack certain properties that are desirable or required for classic
incremental drawing methods. We narrow down these properties, and
introduce the bitonic st-ordering, an ordering which combines the
features only available when using canonical orderings with the flexibility
of st-orderings. The additional property of being bitonic enables an
st-ordering to be used in algorithms that usually require a canonical
ordering.
With this in mind, we describe a linear-time algorithm that computes
such an ordering for every biconnected planar graph. Unlike canonical
orderings, st-orderings extend to directed graphs, in particular planar
st-graphs. Being able to compute bitonic st-orderings for planar st-graphs
is of particular interest for upward planar drawing algorithms, since
traditional incremental algorithms for undirected planar graphs might
be adapted to directed graphs. Based on this observation, we give a
full characterization of the class of planar st-graphs that admit such
an ordering. This includes a linear-time algorithm for recognition
and ordering. Furthermore, we show that by splitting specific edges of
an instance that is not part of this class, one is able to transform
it into one for which then such an ordering exists. To do so, we describe
a linear-time algorithm for finding the smallest set of edges to split.
We show that for a planar st-graph G=(V,E), |V|â3 edge splits
are sufficient and every edge is split at most once. This immediately
translates to the number of bends required for upward planar poly-line
drawings. More specifically, we show that every planar st-graph admits
an upward planar poly-line drawing in quadratic area with at most |V|â3
bends in total and at most one bend per edge. Moreover, the drawing
can be obtained in linear time.
The second part is concerned with embedding planar graphs with maximum
degree three and four into books. Besides providing a simplified
incremental linear-time algorithm for embedding triconnected 3-planar
graphs into a book of two pages, we describe a linear-time algorithm
to compute a subhamiltonian cycle in a triconnected 4-planar graph