Abstract
Constraint diagrams are a visual notation designed to complement the Unified Modeling Language in the development of software systems. They generalize Venn diagrams and Euler circles, and include facilities for quantification and navigation of relations. Their design emphasizes scalability and expressiveness while retaining intuitiveness. Due to subtleties concerned with the ordering of symbols in this visual language, the formalization of constraint diagrams is non-trivial; some constraint diagrams have more than one intuitive reading. A ‘reading’ algorithm, which associates a unique semantic interpretation to a constraint diagram, with respect to a reading tree, has been developed. A reading tree provides a partial ordering for syntactic elements of the diagram. Reading trees are obtainable from a partially directed graph, called the dependence graph of the diagram. In this paper we describe a ‘tree-construction’ algorithm, which utilizes graph transformations in order to produce all possible reading trees from a dependence graph. This work will aid the production of tools which will allow an advanced user to choose from a range of semantic interpretations of a diagram.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
Bottoni, P., Koch, M., Parisi-Presicce, F., Taentzer, G.: A visualisation of OCL using collaborations. In: Gogolla, M., Kobryn, C. (eds.) UML 2001. LNCS, vol. 2185, p. 257. Springer, Heidelberg (2001)
Euler, L.: Lettres a une princesse d’allemagne. Letters (2), 102–108 (1761)
Fish, A., Flower, J., Howse, J.: A reading algorithm for constraint diagrams. In: Proc HCC 2003, pp. 161–168 (2003)
Flower, J., Howse, J.: Generating Euler diagrams. In: Hegarty, M., Meyer, B., Narayanan, N.H. (eds.) Diagrams 2002. LNCS (LNAI), vol. 2317, pp. 61–75. Springer, Heidelberg (2002)
Hammer, E.: Logic and Visual Information. CSLI Publications, Stanford (1995)
Howse, J., Molina, F., Taylor, J., Kent, S., Gil, J.: Spider diagrams: A diagrammatic reasoning system. JVLC 12, 299–324 (2001)
Kent, S.: Constraint diagrams: Visualising invariants in object oriented models. In: Proc OOPSLA 1997. ACM SIGPLAN Notices, pp. 327–341 (1997)
The KeY Project
Kent Modelling Framework (KMF)
OMG: UML Specification, Version 1.4
Shin, S.-J.: The Logical Status of Diagrams. Cambridge University Press, Cambridge (1994)
Venn, J.: On the diagrammatic and mechanical representation of propositions and reasonings. Phil. Mag. (1880)
Warmer, J., Kleppe, A.: The Object Constraint Language. Addison-Wesley, Reading (1998)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2004 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Fish, A., Howse, J. (2004). Computing Reading Trees for Constraint Diagrams. In: Pfaltz, J.L., Nagl, M., Böhlen, B. (eds) Applications of Graph Transformations with Industrial Relevance. AGTIVE 2003. Lecture Notes in Computer Science, vol 3062. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-25959-6_19
Download citation
DOI: https://doi.org/10.1007/978-3-540-25959-6_19
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-22120-3
Online ISBN: 978-3-540-25959-6
eBook Packages: Springer Book Archive