Octilinear graph drawings are a standard paradigm extending the orthogonal graph drawing style by two additional slopes (+1 and -1). We are interested in two constrained drawing problems where the input specifies a so-called representation, that is: a planar embedding; the angles occurring between adjacent edges; the bends along each edge. In Orthogonal Realizability one is asked to compute any orthogonal drawing satisfying the constraints, while in Orthogonal Compaction the goal is to find such a drawing using minimum area. While Orthogonal Realizability can be solved in linear time, Orthogonal Compaction is NP-hard even if the graph is a cycle. In contrast, already Octilinear Realizability is known to be NP-hard. In this paper we investigate Octilinear Realizability and Octilinear Compaction problems. We prove that Octilinear Realizability remains NP-hard if at most one face is not convex or if each interior face has at most 8 reflex corners. We also strengthen the hardness proof of Octilinear Compaction, showing that Octilinear Compaction does not admit a PTAS even if the representation has no reflex corner except at most 4 incident to the external face. On the positive side, we prove that Octilinear Realizability is FPT in the number of reflex corners and for Octilinear Compaction we describe an XP algorithm on the number of edges represented with a +1 or -1 slope segment (i.e., the diagonals), again for the case where the representation has no reflex corner except at most 4 incident to the external face.
翻译:八向图绘制是一种标准范式,通过引入两个额外斜率(+1 和 -1)扩展了正交图绘制风格。本文研究两个约束性绘制问题,其中输入指定了所谓的表示,即:平面嵌入;相邻边之间的夹角;每条边上的折点。在正交可实现性问题中,要求计算满足约束条件的任意正交绘制;而在正交紧致化问题中,目标是在满足约束条件下找到使用最小面积的绘制。虽然正交可实现性可在线性时间内求解,但即使图是简单环,正交紧致化也是 NP 难问题。相比之下,八向可实现性已知为 NP 难问题。本文系统研究八向可实现性与八向紧致化问题。我们证明:若至多一个面为非凸面,或每个内部面至多包含 8 个反射角,八向可实现性仍保持 NP 难性。同时强化了八向紧致化的硬度证明,表明即使表示中除外部面关联的至多 4 个反射角外无其他反射角,八向紧致化也不存在多项式时间近似方案。在积极结果方面,我们证明八向可实现性关于反射角数量是固定参数可解的;针对八向紧致化问题,我们描述了关于以 +1 或 -1 斜率线段(即对角线)表示的边数的 XP 算法,该结论同样适用于表示中除外部面关联的至多 4 个反射角外无其他反射角的情形。