arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1903.05048cs.CG
收藏

正交径向图的高效绘制算法

Efficient Algorithms for Ortho-Radial Graph Drawing

Benjamin Niedermann, Ignaz Rutter, Matthias Wolf

摘要:

正交绘图,即,图嵌入到网格中,是图形绘制中的经典主题。通常,目标是找到一个图形,最大限度地减少边缘上的弯曲数量。弯曲最小化算法的一个关键因素是存在一个正交表示,允许描述这样的图纸纯粹组合只列出每个顶点周围的边缘之间的角度和边缘上的弯曲方向,但忽略任何类型的几何信息,如顶点坐标或边长。Barth等人[2]已经建立了正交径向绘图的类似正交径向表示的存在,其嵌入到正交径向网格中,其网格线是围绕原点的同心圆和从原点发出但不包括原点本身的直线辐条。虽然任何正交表示都允许正交绘图,但正交径向网格的圆形性使得表征有效正交径向表示的问题变得更加复杂和有趣。Barth等人证明了这样一个特征。然而,证明是存在的,并没有提供一个有效的算法来测试是否一个给定的正交径向表示是有效的,更不用说实际上获得一个图纸从正交径向表示。在本文中,我们给这两个任务的二次时间算法。他们是基于一个适当的约束左优先DFS平面图和一些新的见解正交径向表示。我们的有效性检查需要二次时间,并且它的天真应用将产生用于从有效的正交径向表示构造绘图的四次算法。使用进一步的结构洞察力,我们加快绘图算法的二次运行时间。

英文摘要:

Orthogonal drawings, i.e., embeddings of graphs into grids, are a classic topic in Graph Drawing. Often the goal is to find a drawing that minimizes the number of bends on the edges. A key ingredient for bend minimization algorithms is the existence of an orthogonal representation that allows to describe such drawings purely combinatorially by only listing the angles between the edges around each vertex and the directions of bends on the edges, but neglecting any kind of geometric information such as vertex coordinates or edge lengths. Barth et al. [2] have established the existence of an analogous ortho-radial representation for ortho-radial drawings, which are embeddings into an ortho-radial grid, whose gridlines are concentric circles around the origin and straight-line spokes emanating from the origin but excluding the origin itself. While any orthogonal representation admits an orthogonal drawing, it is the circularity of the ortho-radial grid that makes the problem of characterizing valid ortho-radial representations all the more complex and interesting. Barth et al. prove such a characterization. However, the proof is existential and does not provide an efficient algorithm for testing whether a given ortho-radial representation is valid, let alone actually obtaining a drawing from an ortho-radial representation. In this paper we give quadratic-time algorithms for both of these tasks. They are based on a suitably constrained left-first DFS in planar graphs and several new insights on ortho-radial representations. Our validity check requires quadratic time, and a naive application of it would yield a quartic algorithm for constructing a drawing from a valid ortho-radial representation. Using further structural insights we speed up the drawing algorithm to quadratic running time.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑