Domain-Centered Support for Layout, Tasks, and Specification for Control Flow Graph Visualization

Sabin Devkota, Matthew P. LeGendre, Adam Kunen, Pascal Aschwanden, Katherine E. Isaacs
8/6/2021
5 citations
cs.HC

Official code: hdc-arizona/cfgConf (7 stars, JavaScript, MIT, last commit 2022-09-24).

Abstract

Computing professionals in areas like compilers, performance analysis, and security often analyze and manipulate control flow graphs (CFGs) in their work. CFGs are directed networks that describe possible orderings of instructions in the execution of a program.

Show full abstract

Visualizing a CFG is a common activity in developing or debugging computational approaches that use them. However, general graph drawing layouts, including the hierarchical ones frequently applied to CFGs, do not capture CFG-specific structures or tasks and thus the resulting drawing may not match the needs of their audience, especially for more complicated programs. While several algorithms offer flexibility in specifying the layout, they often require expertise with graph drawing layouts and primitives that these potential users do not have. To bring domain-specific CFG drawing to this audience, we develop CFGConf, a library designed to match the abstraction level of CFG experts. CFGConf provides a JSON interface that produces drawings that can stand-alone or be integrated into multi-view visualization systems. We developed CFGConf through an interactive design process with experts while incorporating lessons learned from previous CFG visualization systems, a survey of CFG drawing conventions in computing systems conferences, and existing design principles for notations. We evaluate CFGConf in terms of expressiveness, usability, and notational efficiency through a user study and illustrative examples. CFG experts were able to use the library to produce the domain-aware layouts and appreciated the task-aware nature of the specification.

View on arXivView PDF

Code Implementations(1)

MIT
72JavaScript, PythonMay 27, 20214 years agoMIT

Similar Papers

Cite this paper

@article{devkota2021domaincentered,
  title  = {Domain-Centered Support for Layout, Tasks, and Specification for Control Flow Graph Visualization},
  author = {Sabin Devkota and Matthew P. LeGendre and Adam Kunen and Pascal Aschwanden and Katherine E. Isaacs},
  year   = {2021},
  eprint = {2108.03047},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2108.03047}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2108.03047.svg)](https://codeofpaper.com/paper/2108.03047)

Discussion