Programming by manipulation for layout
Thibaud Hottelier, Ras Bodik, Kimiko Ryokai · ACM Symposium on User Interface Software and Technology (UIST) · 2014
We present Programming by Manipulation, a new programming methodology for specifying the layout of data visualizations, targeted at non-programmers. We address the two central sources of bugs that arise when programming with constraints: ambiguities and conflicts (inconsistencies). We rule out conflicts by design and exploit ambiguity to explore possible layout designs. Our users design layouts by highlighting undesirable aspects of a current design, effectively breaking spurious constraints and introducing ambiguity by giving some elements freedom to move or resize. Subsequently, the tool indicates how the ambiguity can be removed, by computing how the free elements can be fixed with available constraints. To support this workflow, our tool computes the ambiguity and summarizes it visually. We evaluate our work with two user-studies demonstrating that both non-programmers and programmers can effectively use our prototype. Our results suggest that our tool is 5-times more productive than direct programming with constraints.
Cited by 25 works. doi:10.1145/2642918.2647378
Authors
References
- Z3: An Efficient SMT Solver
- D³ Data-Driven Documents
- ManyEyes: a Site for Visualization at Internet Scale
- Creating highly-interactive and graphical user interfaces by demonstration
- Visualization and computer graphics
- Creating graphical interactive application objects by demonstration
- Adaptive grid-based document layout
- The Cassowary linear arithmetic constraint solving algorithm
- Automatic presentation of multimedia documents using relational grammars
- Declarative Language Design for Interactive Visualization