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

通过位移优化符号可见性

Optimizing Symbol Visibility through Displacement

Bernd Gärtner, Vishwas Kalani, Meghana M. Reddy, Wouter Meulemans, Bettina Speckmann, Miloš Stojaković

AI总结:

该研究针对信息可视化中符号重叠问题,通过优化单位正方形符号的绘制顺序与x向位移以最大化最小可见周长,提出了不同容器约束下的高效算法并证明了其近似性能。

摘要:

在信息可视化中,符号的位置通常编码了相关的数据值。当可视化同时具有数值维度和类别维度的数据元素时,类别轴上的定位存在一定灵活性。我们可以利用这种灵活性减少符号重叠,从而提升可读性。本文首次开展了通过有限位移符号来优化符号可读性的算法研究。具体而言,我们考虑需要放置在指定$y$坐标上的闭合单位正方形符号。我们在矩形容器的约束下,优化符号的绘制顺序及其$x$方向位移,以最大化所有正方形的最小可见周长。若容器的宽度和高度均不超过2,则存在一个点可刺穿所有正方形。在此情况下,我们证明了阶梯式布局可任意接近最优解,且能在$O(n\log n)$时间内计算得到。若宽度不超过2,则存在一条竖直线可刺穿所有正方形,在此情况下,我们设计了一种(假设容器高度固定的)2-近似算法,运行时间为$O(n\log n)$。由于通过通用构造总能实现最小可见周长为2,我们针对超过2的可见周长部分来衡量该近似度。我们表明,尽管该算法简单,但在某些实例下可取得渐近最优的结果。

英文摘要:

In information visualization, the position of symbols often encodes associated data values. When visualizing data elements with both a numerical and a categorical dimension, positioning in the categorical axis admits some flexibility. This flexibility can be exploited to reduce symbol overlap, and thereby increase legibility. In this paper, we initialize the algorithmic study of optimizing symbol legibility via a limited displacement of the symbols. Specifically, we consider closed unit square symbols that need to be placed at specified $y$-coordinates. We optimize the drawing order of the symbols as well as their $x$-displacement, constrained within a rectangular container, to maximize the minimum visible perimeter over all squares. If the container has width and height at most $2$, there is a point that stabs all squares. In this case, we prove that a staircase layout is arbitrarily close to optimality and can be computed in $O(n\log n)$ time. If the width is at most $2$, there is a vertical line that stabs all squares, and in this case, we design a 2-approximation algorithm (assuming fixed container height) that runs in $O(n\log n)$ time. As it turns out that a minimum visible perimeter of 2 is always achievable with a generic construction, we measure this approximation with respect to the visible perimeter exceeding 2. We show that, despite its simplicity, the algorithm gives asymptotically optimal results for certain instances.

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

↑