Skip to main content
Article thumbnail
Location of Repository

Do monkeys like elephants or do elephants watch monkeys? An empirical study into the default reading of constraint diagrams

By Andrew Fish and Judith Masthoff


Constraint diagrams complement the Unified Modeling Language that is used in the development of software systems. They generalize Venn and Euler diagrams, and include facilities for quantification and navigation of relations. Difficulties such as ordering quantifiers cause constraint diagrams to have more than one possible meaning. Fish et al. have extended the constraint diagram notation, augmenting it with a reading tree which provides a unique semantics. However, this involves extracting extra information about the reading order from the diagram creator. Progress has been made towards a default reading, which extracts this information implicitly from the diagram. In this paper, we investigate how humans read ambiguous constraint diagrams intuitively, without any instructions on the reading order. We test several principles which could be used in a default reading. We conclude that although some of these principles have significant effects, they also may conflict. Either an explicit reading tree or a taught method of reading a diagram which may conflict with some people’s intuition is necessary

Topics: G400 Computing
Publisher: University of Brighton
Year: 2005
OAI identifier:

Suggested articles


  1. (in press). The semantics of augmented constraint diagrams. doi
  2. (2003). A constraint diagram reasoning system.
  3. (2003). A reading algorithm for constraint diagrams. doi
  4. (2003). Computing reading trees for constraint diagrams. doi
  5. (1997). Constraint diagrams: Visualising invariants in object oriented models. doi
  6. (1995). Logic and visual information. doi
  7. Precise visual modelling: A case study. doi
  8. (2001). Spider diagrams: A diagrammatic reasoning system. doi
  9. (1994). The logical status of diagrams. doi
  10. (1998). The Object Constraint Language. Addison-Wesley. Appendix A: Introduction to the notation
  11. (2004). Towards a default reading for constraint diagrams. doi
  12. Version 1.4. Available from

To submit an update or takedown request for this paper, please submit an Update/Correction/Removal Request.