Unparsing of Diagrams with DiaGen
When diagram editors are used as components of larger software systems they are not only used as an input facility for diagrams, but also for visualizing results or other data structures which are externally represented. Examples are UML tools which are used for re-engineering. This paper presents a generic unparsing approach which allows for creating diagrams from XML-coded external data structures. This approach has been integrated into the diagram editor generator DiaGen. It is based on an XSLT specification of the rule-based unparsing process which creates a hypergraph model of the resulting diagram.
KeywordsGraph Transformation External Representation Abstract Syntax Tree XPath Expression Mark Mina
Unable to display preview. Download preview PDF.
- 1.M. Andries, G. Engels, and J. Rekers. How to represent a visual specification. In K. Marriott and B. Meyer, editors, Visual Language Theory, chapter 8, pages 245–260.Google Scholar
- 2.S. S. Chok, K. Marriott, and T. Paton. Constraint-based diagram beautification. In Proc. 1999 IEEE Symp. on Visual Languages, Tokyo, Japan, 1999.Google Scholar
- 3.J. H. Cross and T. D. Hendrix. Language independent program visualisation. In P. Eades and K. Zhang, editors, Software Visualisation, pages 27–45, Singapore, 1996. World Scientific.Google Scholar
- 4.R. Holt, A. Winter, and A. Schürr. GXL: Towards a standard exchange format. In Proc. 7th Working Conference on Reverse Engineering (WCRE 2000), pages 162–171, Los Alamitos, 2000. IEEE Computer Society.Google Scholar
- 6.O. Köth and M. Minas. Generating diagram editors providing free-hand editing as well as syntax-directed editing. In Proc. International Workshop on Graph Transformation (GraTra 2000), Berlin, Mar. 2000.Google Scholar
- 7.M. Minas. Diagram editing with hypergraph parser support. In Proc. 1997 IEEE Symp. on Visual Languages, Capri, Italy, pages 230–237, 1997.Google Scholar
- 8.M. Minas. Creating semantic representations of diagrams. In M. Nagl and A. Schürr, editors, Int. Workshop on Applications of Graph Transformations with Industrial Relevance (Agtive’99), Selected Papers, volume 1779 of Lecture Notes in Computer Science, pages 209–224. Springer, Mar. 2000.Google Scholar
- 10.M. Minas and B. Hoffmann. Specifying and implementing visual process modeling languages with diagen. In C. E. Hartmut Ehrig and J. Padberg, editors, Electronic Notes in Theoretical Computer Science, volume 44. Elsevier Science Publishers, 2001.Google Scholar
- 11.M. Minas and O. Köth. Generating diagram editors with diagen. In M. Nagl and A. Schürr, editors, Int. Workshop on Applications of Graph Transformations with Industrial Relevance (Agtive’99), Selected Papers, volume 1779 of Lecture Notes in Computer Science. Springer, Mar. 2000.Google Scholar
- 12.M. Minas and G. Viehstaedt. DiaGen: A generator for diagram editors providing direct manipulation and execution of diagrams. In Proc. 1995 IEEE Symp. on Visual Languages, Darmstadt, Germany, pages 203–210, 1995.Google Scholar
- 13.M. Read and C. Marlin. Specifying and generating program editors with novel visual editing mechanisms. In Proc. of the 10th Conference on Software Engineering and Knowledge Engineering, pages 418–425, San Francisco, USA, 1998. KSI Press.Google Scholar
- 14.J. Rekers and A. Schürr. A graph based framework for the implementation of visual environments. In Proc. 1996 IEEE Symp. on Visual Languages, Boulder, Colorado, pages 148–155, 1996.Google Scholar
- 15.A. Schürr, A. Winter, and A. Zündorf. Visual programming with graph rewriting systems. In Proc. 1995 IEEE Symp. on Visual Languages, Darmstadt, Germany, pages 195–202, 1995.Google Scholar
- 16.F. Strüber. Unparsing von Diagrammen in DiaGen [Unparsing of diagrams with DiaGen]. Diploma thesis, Computer Science, University of Erlangen, Erlangen, Germany, July 2002. In German.Google Scholar
- 17.G. Taentzer. Towards common exchange formats for graphs and graph transformation systems. In C. E. Hartmut Ehrig and J. Padberg, editors, Electronic Notes in Theoretical Computer Science, volume 44. Elsevier Science Publishers, 2001.Google Scholar
- 18.List of XML applications. http://www.oasis-open.org/cover/siteIndex.html#toc-applications.