Electronic Proceedings in Theoretical Computer Science (Nov 2018)

Improving the Visualization of Alloy Instances

  • Rui Couto,
  • José C. Campos,
  • Nuno Macedo,
  • Alcino Cunha

DOI
https://doi.org/10.4204/EPTCS.284.4
Journal volume & issue
Vol. 284, no. Proc. F-IDE 2018
pp. 37 – 52

Abstract

Read online

Alloy is a lightweight formal specification language, supported by an IDE, which has proven well-suited for reasoning about software design in early development stages. The IDE provides a visualizer that produces graphical representations of analysis results, which is essential for the proper validation of the model. Alloy is a rich language but inherently static, so behavior needs to be explicitly encoded and reasoned about. Even though this is a common scenario, the visualizer presents limitations when dealing with such models. The main contribution of this paper is a principled approach to generate instance visualizations, which improves the current Alloy Visualizer, focusing on the representation of behavior.