Lune

UIST2024Top-tier venue

Bluefish: Composing Diagrams with Declarative Relations

Josh Pollock, Catherine Mei, Grace Huang, Elliot Evans, Daniel Jackson, Arvind Satyanarayan

Abstract

Diagrams are essential tools for problem-solving and communication as they externalize conceptual structures using spatial relationships. But when picking a diagramming framework, users are faced with a dilemma. They can either use a highly expressive but low-level toolkit, whose API does not match their domain-specific concepts, or select a high-level typology, which offers a recognizable vocabulary but supports a limited range of diagrams. To address this gap, we introduce Bluefish: a diagramming framework inspired by component-based user interface (UI) libraries. Bluefish lets users create diagrams using relations: declarative, composable, and extensible diagram fragments that relax the concept of a UI component. Unlike a component, a relation does not have sole ownership over its children nor does it need to fully specify their layout. To render diagrams, Bluefish extends a traditional tree-based scenegraph to a compound graph that captures both hierarchical and adjacent relationships between nodes. To evaluate our system, we construct a diverse example gallery covering many domains including mathematics, physics, computer science, and even cooking. We show that Bluefish’s relations are effective declarative primitives for diagrams. Bluefish is open source, and we aim to shape it into both a usable tool and a research platform.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

8 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • GoFish: A Grammar of More Graphics! cites GoTree: A Grammar of Tree Visualizations
  • GoFish: A Grammar of More Graphics! cites Gemini: A Grammar and Recommender System for Animated Transitions in Statistical Graphics
  • GoFish: A Grammar of More Graphics! cites CAST: Authoring Data-Driven Chart Animations
  • The Shapes of Abstraction in Data Structure Diagrams cites Penrose: from mathematical notation to beautiful diagrams
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers8

  1. The Shapes of Abstraction in Data Structure DiagramsDevamardeep Hayatpur, Brian Hempel, Richard Lin, Haijun XiaCHI 2025 · 7 citations
  2. Taking ASCII Drawings Seriously: How Programmers Diagram CodeDevamardeep Hayatpur, Brian Hempel, Kathy Chen, William Duan et al.CHI 2024 · 7 citations
  3. DataWink: Reusing and Adapting SVG-Based Visualization Examples with Large Multimodal ModelsLiwenhan Xie, Yanna Lin, Can Liu, Huamin Qu et al.IEEE VIS 2025 · 3 citations
  4. Nonvisual Support for Understanding and Reasoning about Data StructuresBrianna L. Wimer, Ritesh Kanchi, Kaija Frierson, Venkatesh Potluri et al.CHI 2026 · 2 citations
  5. GoFish: A Grammar of More Graphics!Josh Pollock, Arvind SatyanarayanIEEE VIS 2025 · 2 citations

Builds on8

  1. Gemini: A Grammar and Recommender System for Animated Transitions in Statistical GraphicsYounghoon Kim, Jeffrey HeerIEEE VIS 2020 · 61 citations
  2. Scout: Rapid Exploration of Interface Layout Alternatives through High-Level Design ConstraintsAmanda Swearngin, Chenglong Wang, Alannah Oleson, James Fogarty et al.CHI 2020 · 58 citations
  3. Penrose: from mathematical notation to beautiful diagramsKatherine Ye, Wode Ni, Max Krieger, Dor Ma'ayan et al.SIGGRAPH 2020 · 53 citations
  4. GoTree: A Grammar of Tree VisualizationsGuozheng Li, Min Tian, Qinmei Xu, Michael J. McGuffin et al.CHI 2020 · 44 citations
  5. CAST: Authoring Data-Driven Chart AnimationsTong Ge, Bongshin Lee, Yunhai WangCHI 2021 · 33 citations

Related papers

  1. How Domain Experts Create Conceptual Diagrams and Implications for Tool DesignDor Ma'ayan, Wode Ni, Katherine Ye, Chinmay Kulkarni et al.CHI 2020 · 19 citations
  2. Learning Diagrams: A Graphical Language for Compositional Training RegimesMason Lary, Richard Samuelson, Alexander Wilentz, Alina Zare et al.ICLR 2025
  3. From Navigation to Intention: Reframing the Web Experience through Goal-Driven InterfacesLuca Cordioli, Maristella MateraWWW 2026
  4. Diagramming Program Values by Spatial RefinementSiddhartha Prasad, Michael Tu, Karan Kashyap, Tim Nelson et al.PLDI 2026
  5. CoSE: Compositional Stroke EmbeddingsEmre Aksan, Thomas Deselaers, Andrea Tagliasacchi, Otmar HilligesNeurIPS 2020 · 37 citations
Dusk over the sea between two cliffs drawn in fine vertical lines