A linked bar chart is the augmentation of a traditional bar chart where each bar is partitioned into blocks and pairs of blocks are linked using orthogonal lines that pass over intermediate bars. The order of the blocks readily influences the legibility of the links. We study the algorithmic problem of minimizing the vertical length of these links, for a fixed bar order. The main challenge lies with dependent links, whose vertical link length cannot be optimized independently per bar. We show that, if the dependent links form a forest, the problem can be solved in O(nm) time, for n bars and m links. If the dependent links between non-adjacent bars form a forest, the problem admits an \(O(n^4m)\) -time algorithm. Finally, we show that the general case is fixed-parameter tractable in the maximum number of links that are connected to one bar.

错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Minimizing Vertical Length in Linked Bar Charts

  • Steven van den Broek,
  • Marc van Kreveld,
  • Wouter Meulemans,
  • Arjen Simons

摘要

A linked bar chart is the augmentation of a traditional bar chart where each bar is partitioned into blocks and pairs of blocks are linked using orthogonal lines that pass over intermediate bars. The order of the blocks readily influences the legibility of the links. We study the algorithmic problem of minimizing the vertical length of these links, for a fixed bar order. The main challenge lies with dependent links, whose vertical link length cannot be optimized independently per bar. We show that, if the dependent links form a forest, the problem can be solved in O(nm) time, for n bars and m links. If the dependent links between non-adjacent bars form a forest, the problem admits an \(O(n^4m)\) -time algorithm. Finally, we show that the general case is fixed-parameter tractable in the maximum number of links that are connected to one bar.