EulerMerge: Simplifying Euler Diagrams Through Set Merges

Xinyuan Yan, Peter Rodgers, Peter Rottmann, Daniel Archambault, Jan-Henrik Haunert, Bei Wang

TL;DR

This paper introduces EulerMerge, a novel algorithm that simplifies complex Euler diagrams by merging sets. This approach ensures that each set is represented by a single, connected area and eliminates concurrent curve segments, leading to more understandable and scalable visualizations of set-based data.

What Problem Does This Paper Address?

Euler diagrams are a popular way to visualize relationships between sets, where curves represent sets and their overlaps show intersections. However, as the number of sets and their complexity increase, traditional Euler diagrams become difficult to interpret. Existing methods often resort to splitting a single set into multiple disconnected regions or drawing concurrent curve segments, both of which significantly hinder comprehension. This paper tackles the challenge of creating scalable and understandable Euler diagrams for complex, real-world datasets that often defy traditional visualization methods.

Methods

The core of EulerMerge is a set merging strategy. The algorithm iteratively merges pairs of sets, replacing them with their union. This process is guided by two main objectives:

  1. Achieving Planarity: The algorithm first focuses on transforming the dual graph of the set system into a planar graph. This is crucial for generating a valid Euler diagram. It identifies Kuratowski subgraphs (indicators of non-planarity) and merges sets within these subgraphs, prioritizing merges that reduce concurrency.
  2. Removing Concurrency: After ensuring planarity, the algorithm further merges sets to eliminate concurrent curve segments. This is achieved through a greedy approach, repeatedly merging pairs of sets that yield the greatest reduction in concurrency.

The process involves constructing an initial dual graph, then iteratively applying set merges to achieve planarity and subsequently remove concurrency. Finally, a standard Euler diagram embedding algorithm and a smoothing technique (EulerSmooth) are used to render the simplified diagram.

Datasets

The paper evaluates EulerMerge using two real-world datasets:

  • MovieDB collection: A dataset of movies and their actors, where each set represents a movie and elements are actors.
  • Twitter Circles collection: A dataset of user interests, where sets represent interest groups and elements are users.

These datasets are used to demonstrate the algorithm's effectiveness in simplifying complex set systems and generating understandable Euler diagrams.

Key Insights and Ideas

  • Set Merging as a Simplification Tool: The paper highlights that merging sets, while losing some granular detail, is a powerful strategy for achieving well-formedness conditions in Euler diagrams. This trade-off is presented as beneficial for overall comprehension.
  • Planarity as a Prerequisite: The algorithm prioritizes achieving a planar dual graph before addressing concurrency, recognizing that a non-planar graph cannot be directly embedded into a valid Euler diagram.
  • Concurrency as a Major Usability Issue: The authors emphasize that disconnected enclosed areas and concurrency are the primary culprits behind poor interpretation in Euler diagrams, and their algorithm directly targets these issues.
  • Well-formedness Conditions: The paper clearly defines and prioritizes well-formedness conditions, particularly focusing on "connected enclosed area" and "no concurrency" as critical for usability, while acknowledging that "no triple points" and "genus free" are less impactful or can be addressed in future work.

Key Results

EulerMerge successfully produces Euler diagrams that are well-formed, featuring connected enclosed areas and no concurrency. Experiments show that:

  • The algorithm typically requires a small number of set merges (average of approximately 2 for planarity and concurrency reduction combined) to achieve these well-formedness conditions.
  • Concurrency reduction is significantly more common than planarity reduction.
  • Compared to a state-of-the-art method (EulerGeneral), EulerMerge requires fewer set merges to achieve planarity, thereby avoiding disconnected areas.
  • EulerMerge significantly reduces concurrency compared to EulerGeneral, which often results in diagrams with concurrent curve segments. For instance, one example showed a concurrency count of 53 in EulerGeneral versus a much lower count achieved through merges in EulerMerge.

Limitations and Future Work

The authors acknowledge several limitations and suggest future research directions:

  • Loss of Detail: Set merging inherently simplifies the data, leading to a loss of granular information. The authors suggest that an "overview first, zoom and filter then details-on-demand" approach could mitigate this.
  • Genus-Free Diagrams: While the current algorithm focuses on planarity and concurrency, it does not guarantee "genus-free" diagrams (diagrams without holes). The paper suggests that extending the framework to include genus removal, similar to concurrency removal, is a promising avenue.
  • Triple Points: The paper notes that triple points (where three curves intersect at a single point) are less cognitively problematic than concurrency but suggests investigating merging strategies to reduce them.
  • Zone Merging: The authors propose exploring "zone merges" instead of "set merges" for finer control over layout.
  • Alternative Merging Criteria: Investigating different criteria for set merging, such as those based on similarity or transportation costs, is also suggested.
  • Integrating Multiple Well-formedness Conditions: Developing more sophisticated methods to integrate potentially competing measures for different well-formedness conditions is a key area for future work.

Summary updated

Abstract

Euler diagrams are an intuitive and popular method to visualize set-based data. In an Euler diagram, each set is represented as a closed curve, and set intersections are shown by curve overlaps. However, Euler diagrams are not visually scalable and automatic layout techniques struggle to display real-world data sets in a comprehensible way. Prior state-of-the-art approaches can embed Euler diagrams by splitting a closed curve into multiple curves so that a set is represented by multiple disconnected enclosed areas. In addition, these methods typically result in multiple curve segments being drawn concurrently. Both of these features significantly impede understanding. In this paper, we present a new and scalable method for embedding Euler diagrams using set merges. Our approach simplifies the underlying data to ensure that each set is represented by a single, connected enclosed area and that the diagram is drawn without curve concurrency, leading to wellformed and understandable Euler diagrams.

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
MovieDB collectionEulerMergeTotal #Merges1.33 set mergesEuler Diagram Simplification · subset=225 set systems
Source quote
L622: Collection │ \#Planarity │ \#Concurrency │ Total \#Merges MovieDB │ 0.11 │ 1.23 │ 1.33
Twitter Circles collectionEulerMergeTotal #Merges2.04 set mergesEuler Diagram Simplification · subset=59 set systems
Source quote
L623: Twitter Circles │ 0.07 │ 1.97 │ 2.04
Reported baseline / comparator measurements (4)
BenchmarkMethodMetricScoreProtocol / Evidence
MovieDB collectionEulerGeneral baselineConcurrency4.63 countEuler Diagram Simplification
Source quote
L635: Collection │ \#Duplicated Curve Labels │ Concurrency MovieDB │ 0.35 │ 4.63
Twitter Circles collectionEulerGeneral baselineConcurrency6.19 countEuler Diagram Simplification
Source quote
L636: Twitter Circles │ 0.41 │ 6.19
MovieDB collectionEulerGeneral baseline#Duplicated Curve Labels0.35 countEuler Diagram Simplification
Source quote
L635: Collection │ \#Duplicated Curve Labels │ Concurrency MovieDB │ 0.35 │ 4.63
Twitter Circles collectionEulerGeneral baseline#Duplicated Curve Labels0.41 countEuler Diagram Simplification
Source quote
L636: Twitter Circles │ 0.41 │ 6.19
BibTeX
@inproceedings{yan2024eulermerge,
  author = {Xinyuan Yan and Peter Rodgers and Peter Rottmann and Daniel Archambault and Jan-Henrik Haunert and Bei Wang},
  title = {{EulerMerge: Simplifying Euler Diagrams Through Set Merges}},
  booktitle = {Diagrams},
  year = {2024},
  url = {https://openreview.net/forum?id=bgOgAmodUF},
}

Loading related content...

Figure