14 research outputs found
The Parametrized Complexity of the Segment Number
Given a straight-line drawing of a graph, a {\em segment} is a maximal set of
edges that form a line segment. Given a planar graph , the {\em segment
number} of is the minimum number of segments that can be achieved by any
planar straight-line drawing of . The {\em line cover number} of is the
minimum number of lines that support all the edges of a planar straight-line
drawing of . Computing the segment number or the line cover number of a
planar graph is -complete and, thus, NP-hard.
We study the problem of computing the segment number from the perspective of
parameterized complexity. We show that this problem is fixed-parameter
tractable with respect to each of the following parameters: the vertex cover
number, the segment number, and the line cover number. We also consider colored
versions of the segment and the line cover number.Comment: The conference version of this paper appears in the Proceedings of
the 31st International Symposium on Graph Drawing and Network Visualization
(GD 2023
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
Drawing Graphs as Spanners
We study the problem of embedding graphs in the plane as good geometric
spanners. That is, for a graph , the goal is to construct a straight-line
drawing of in the plane such that, for any two vertices and
of , the ratio between the minimum length of any path from to
and the Euclidean distance between and is small. The maximum such
ratio, over all pairs of vertices of , is the spanning ratio of .
First, we show that deciding whether a graph admits a straight-line drawing
with spanning ratio , a proper straight-line drawing with spanning ratio
, and a planar straight-line drawing with spanning ratio are
NP-complete, -complete, and linear-time solvable problems,
respectively, where a drawing is proper if no two vertices overlap and no edge
overlaps a vertex.
Second, we show that moving from spanning ratio to spanning ratio
allows us to draw every graph. Namely, we prove that, for every
, every (planar) graph admits a proper (resp. planar) straight-line
drawing with spanning ratio smaller than .
Third, our drawings with spanning ratio smaller than have large
edge-length ratio, that is, the ratio between the length of the longest edge
and the length of the shortest edge is exponential. We show that this is
sometimes unavoidable. More generally, we identify having bounded toughness as
the criterion that distinguishes graphs that admit straight-line drawings with
constant spanning ratio and polynomial edge-length ratio from graphs that
require exponential edge-length ratio in any straight-line drawing with
constant spanning ratio