UW Interactive Data Lab
IDL logo

Engraft: An API for Live, Rich, and Composable Programming

Josh Horowitz, Jeffrey Heer. ACM User Interface Software & Technology (UIST), 2023
Figure for Engraft: An API for Live, Rich, and Composable Programming
Through a uniform component/host interface, Engraft enables three forms of composition for live and rich tools.
Materials
PDF | Software
Abstract
Live & rich tools can support a diversity of domain-specific pro- gramming tasks, from visualization authoring to data wrangling. Real-world programming, however, requires performing multiple tasks in concert, calling for the use of multiple tools alongside conventional code. Programmers lack environments capable of composing live & rich tools to support these situations. To enable this composition, we contribute Engraft, a component-based API that allows live & rich tools to be embedded within larger environments like computational notebooks. Through recursive embedding of components, Engraft enables several new forms of composition: not only embedding tools inside environments, but also embedding environments within each other and embedding tools and environments in the outside world, including conventional codebases. We demonstrate Engraft with examples from diverse domains, including web-application development, command-line scripting, and physics education. By providing composability, Engraft can help cultivate a cycle of use and innovation in live & rich programming.
BibTeX
@inproceedings{2023-engraft,
  title = {Engraft: An API for Live, Rich, and Composable Programming},
  author = {Horowitz, Josh AND Heer, Jeffrey},
  booktitle = {ACM User Interface Software \& Technology (UIST)},
  year = {2023},
  url = {https://uwdata.github.io/uwdata/papers/engraft},
  doi = {10.1145/3586183.3606733}
}