on minimizing crossings in storyline visualizations
play

On Minimizing Crossings in Storyline Visualizations Irina - PowerPoint PPT Presentation

On Minimizing Crossings in Storyline Visualizations Irina Kostitsyna Martin N ollenburg Valentin Polishchuk Andr e Schulz Darren Strash Institute of Theoretical Informatics Algorithmics www.xkcd.com, CC BY-NC 2.5 I. Kostitsyna, M.


  1. On Minimizing Crossings in Storyline Visualizations Irina Kostitsyna Martin N¨ ollenburg Valentin Polishchuk Andr´ e Schulz Darren Strash Institute of Theoretical Informatics – Algorithmics www.xkcd.com, CC BY-NC 2.5 I. Kostitsyna, M. N¨ ollenburg, V. Polishchuk, A. Schulz, D. Strash : Institute of Theoretical Informatics KIT – University of the State of Baden-Wuerttemberg and www.kit.edu On Minimizing Crossings in Storyline Visualizations Algorithmics National Laboratory of the Helmholtz Association

  2. Storyline Visualizations Input: A story (e.g., movie, play, etc.): set of n characters and their interactions over time ( m meetings ) Output: Visualization of character interactions x -axis → time Characters → curves monotone w.r.t time (no time travel) Curves converge during an interaction, and diverge otherwise a b c d time I. Kostitsyna, M. N¨ ollenburg, V. Polishchuk, A. Schulz, D. Strash : Institute of Theoretical Informatics 1 On Minimizing Crossings in Storyline Visualizations Algorithmics

  3. Storyline Visualizations Input: A story (e.g., movie, play, etc.): set of n characters and their interactions over time ( m meetings ) Output: Visualization of character interactions x -axis → time Characters → curves monotone w.r.t time (no time travel) Curves converge during an interaction, and diverge otherwise Meetings have start and end times a b c d time I. Kostitsyna, M. N¨ ollenburg, V. Polishchuk, A. Schulz, D. Strash : Institute of Theoretical Informatics 1 On Minimizing Crossings in Storyline Visualizations Algorithmics

  4. Previous Results Draw pretty pictures → minimize crossings between curves NP-hard in general → reduction from B IPARTITE C ROSSING N UMBER → In practice: Layered graph drawing → try permutations of curve ordering [Sugiyama et al. ’81] Heuristics to minimize crossings, wiggles, and gaps [Tanahashi et al. ’12, Muelder et al. ’13] I. Kostitsyna, M. N¨ ollenburg, V. Polishchuk, A. Schulz, D. Strash : Institute of Theoretical Informatics 2 On Minimizing Crossings in Storyline Visualizations Algorithmics

  5. Towards a Theoretical Understanding of Storylines Almost no existing theoretical results! Many interesting questions... Among them: Can we bound the number of crossings? Fixed-parameter tractable (FPT) for realistic inputs? I. Kostitsyna, M. N¨ ollenburg, V. Polishchuk, A. Schulz, D. Strash : Institute of Theoretical Informatics 3 On Minimizing Crossings in Storyline Visualizations Algorithmics

  6. Towards a Theoretical Understanding of Storylines Almost no existing theoretical results! Many interesting questions... Among them: Can we bound the number of crossings? Yes! We show: matching upper and lower bounds for a special case Fixed-parameter tractable (FPT) for realistic inputs? Yes! We show: → FPT on # characters k I. Kostitsyna, M. N¨ ollenburg, V. Polishchuk, A. Schulz, D. Strash : Institute of Theoretical Informatics 3 On Minimizing Crossings in Storyline Visualizations Algorithmics

  7. Pairwise One-Time Meetings We consider a special case: meetings are restricted to two characters these characters meet only once Event graph: characters → vertices, meetings → edges pairwise one-time meetings event graph a a b b c c d d I. Kostitsyna, M. N¨ ollenburg, V. Polishchuk, A. Schulz, D. Strash : Institute of Theoretical Informatics 4 On Minimizing Crossings in Storyline Visualizations Algorithmics

  8. Pairwise One-Time Meetings We consider a special case: meetings are restricted to two characters these characters meet only once Event graph: characters → vertices, meetings → edges pairwise one-time meetings event graph a a b b c c d d We further restrict to the case where the event graph is a tree. I. Kostitsyna, M. N¨ ollenburg, V. Polishchuk, A. Schulz, D. Strash : Institute of Theoretical Informatics 4 On Minimizing Crossings in Storyline Visualizations Algorithmics

  9. Algorithm for O ( n log n ) Crossings Intuition: Full binary tree can be drawn with O ( n log n ) crossings Achieve the same bound for arbitrary trees using a heavy path decomposition I. Kostitsyna, M. N¨ ollenburg, V. Polishchuk, A. Schulz, D. Strash : Institute of Theoretical Informatics 5 On Minimizing Crossings in Storyline Visualizations Algorithmics

  10. Algorithm for O ( n log n ) Crossings Intuition: Full binary tree can be drawn with O ( n log n ) crossings Achieve the same bound for arbitrary trees using a heavy path decomposition I. Kostitsyna, M. N¨ ollenburg, V. Polishchuk, A. Schulz, D. Strash : Institute of Theoretical Informatics 5 On Minimizing Crossings in Storyline Visualizations Algorithmics

  11. Algorithm for O ( n log n ) Crossings Intuition: Full binary tree can be drawn with O ( n log n ) crossings Achieve the same bound for arbitrary trees using a heavy path decomposition I. Kostitsyna, M. N¨ ollenburg, V. Polishchuk, A. Schulz, D. Strash : Institute of Theoretical Informatics 5 On Minimizing Crossings in Storyline Visualizations Algorithmics

  12. Algorithm for O ( n log n ) Crossings Intuition: Full binary tree can be drawn with O ( n log n ) crossings Achieve the same bound for arbitrary trees using a heavy path decomposition I. Kostitsyna, M. N¨ ollenburg, V. Polishchuk, A. Schulz, D. Strash : Institute of Theoretical Informatics 5 On Minimizing Crossings in Storyline Visualizations Algorithmics

  13. Algorithm for O ( n log n ) Crossings Intuition: Full binary tree can be drawn with O ( n log n ) crossings Achieve the same bound for arbitrary trees using a heavy path decomposition I. Kostitsyna, M. N¨ ollenburg, V. Polishchuk, A. Schulz, D. Strash : Institute of Theoretical Informatics 5 On Minimizing Crossings in Storyline Visualizations Algorithmics

  14. Algorithm for O ( n log n ) Crossings Intuition: Full binary tree can be drawn with O ( n log n ) crossings Achieve the same bound for arbitrary trees using a heavy path decomposition Observation: Build bottom-up → draw subtree and connect with root. I. Kostitsyna, M. N¨ ollenburg, V. Polishchuk, A. Schulz, D. Strash : Institute of Theoretical Informatics 5 On Minimizing Crossings in Storyline Visualizations Algorithmics

  15. Heavy-Path Decomposition Heavy edge := | child subtree | > 1 / 2 | parent subtree | Light edge := otherwise Key property: O ( log n ) light edges on any root-leaf path 19 13 8 5 I. Kostitsyna, M. N¨ ollenburg, V. Polishchuk, A. Schulz, D. Strash : Institute of Theoretical Informatics 6 On Minimizing Crossings in Storyline Visualizations Algorithmics

  16. Heavy-Path Decomposition Heavy edge := | child subtree | > 1 / 2 | parent subtree | Light edge := otherwise Key property: O ( log n ) light edges on any root-leaf path 19 13 8 Treat heavy paths as single unit 5 I. Kostitsyna, M. N¨ ollenburg, V. Polishchuk, A. Schulz, D. Strash : Institute of Theoretical Informatics 6 On Minimizing Crossings in Storyline Visualizations Algorithmics

  17. Heavy-Path Decomposition Heavy edge := | child subtree | > 1 / 2 | parent subtree | Light edge := otherwise Key property: O ( log n ) light edges on any root-leaf path 19 13 8 Treat heavy paths as single unit 5 Key idea: Draw light subtrees, then connect roots I. Kostitsyna, M. N¨ ollenburg, V. Polishchuk, A. Schulz, D. Strash : Institute of Theoretical Informatics 6 On Minimizing Crossings in Storyline Visualizations Algorithmics

  18. Drawing Tree Event Graphs Draw each light subtree in an axis-aligned rectangle I. Kostitsyna, M. N¨ ollenburg, V. Polishchuk, A. Schulz, D. Strash : Institute of Theoretical Informatics 7 On Minimizing Crossings in Storyline Visualizations Algorithmics

  19. Drawing Tree Event Graphs Draw each light subtree in an axis-aligned rectangle Order light children vertically by start time of meeting with root I. Kostitsyna, M. N¨ ollenburg, V. Polishchuk, A. Schulz, D. Strash : Institute of Theoretical Informatics 7 On Minimizing Crossings in Storyline Visualizations Algorithmics

  20. Drawing Tree Event Graphs Draw each light subtree in an axis-aligned rectangle Order light children vertically by start time of meeting with root I. Kostitsyna, M. N¨ ollenburg, V. Polishchuk, A. Schulz, D. Strash : Institute of Theoretical Informatics 7 On Minimizing Crossings in Storyline Visualizations Algorithmics

  21. Drawing Tree Event Graphs Draw each light subtree in an axis-aligned rectangle Order light children vertically by start time of meeting with root Introduce “detours”: connect roots on heavy path I. Kostitsyna, M. N¨ ollenburg, V. Polishchuk, A. Schulz, D. Strash : Institute of Theoretical Informatics 7 On Minimizing Crossings in Storyline Visualizations Algorithmics

  22. Drawing Tree Event Graphs Draw each light subtree in an axis-aligned rectangle Order light children vertically by start time of meeting with root Introduce “detours”: connect roots on heavy path I. Kostitsyna, M. N¨ ollenburg, V. Polishchuk, A. Schulz, D. Strash : Institute of Theoretical Informatics 7 On Minimizing Crossings in Storyline Visualizations Algorithmics

  23. Drawing Tree Event Graphs Draw each light subtree in an axis-aligned rectangle Order light children vertically by start time of meeting with root Introduce “detours”: connect roots on heavy path New light subtree embedded in axis-aligned rectangle! I. Kostitsyna, M. N¨ ollenburg, V. Polishchuk, A. Schulz, D. Strash : Institute of Theoretical Informatics 7 On Minimizing Crossings in Storyline Visualizations Algorithmics

Recommend


More recommend