Bluefish: Composing Diagrams with Declarative Relations
Open Access
- 11 October 2024
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 1-21
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.Keywords
All Related Versions
Funding Information
- NSF (National Science Foundation) (1745302)
This publication has 47 references indexed in Scilit:
- Automatically Building Diagrams for Olympiad Geometry Problems2021
- An Algebraic Process for Visualization DesignIEEE Transactions on Visualization and Computer Graphics, 2014
- Drawing non-layered tidy trees in linear timeSoftware: Practice and Experience, 2013
- D³ Data-Driven DocumentsIEEE Transactions on Visualization and Computer Graphics, 2011
- Z3: An Efficient SMT Solver2008
- Hierarchical Edge Bundles: Visualization of Adjacency Relations in Hierarchical DataIEEE Transactions on Visualization and Computer Graphics, 2006
- LLVM: A compilation framework for lifelong program analysis & transformation2004
- A Constraint-Based Approach for Visualization and AnimationConstraints, 1998
- Multi‐way versus one‐way constraints in user interfaces: Experience with the deltablue algorithmSoftware: Practice and Experience, 1993
- A technique for drawing directed graphsIEEE Transactions on Software Engineering, 1993