Open this publication in new window or tab >> Show others...
2027 (English) In: Diagrammatic Representation and Inference - 15th International Conference, Diagrams 2026, Proceedings, Springer Nature , 2027, Vol. 16833 LNCS, p. 293-308Conference paper, Published paper (Refereed)
Abstract [en] Diagrams are helpful tools serving as visual representations of structured program data and models in model-driven engineering (MDE). However, existing solutions to create diagrams programmatically are often constrained to specific programming languages or limited in the support for pragmatic and interactive features known from diagramming frameworks. We here propose to provide diagrams as a service. The service is available through a web protocol. It provides a client that handles all diagram-related calculations for graph-based diagrams known from diagramming frameworks, including features such as automatic layout. JSON schemas for the diagram model and communication protocol facilitate automatic code generation and a direct connection to the service for custom diagram servers written in arbitrary programming languages. This enables interactive diagrams in any domain with established tooling. We evaluate the service, which is provided through the open-source KIELER framework, with two custom server implementations. The first example is a prototype written in Python that showcases different features of the service. The second example presents ForSyDe, a textual modeling environment developed in Haskell for formal system design. ForSyDe utilizes the diagram service to automatically generate dataflow visualizations of their code in VS Code.
Place, publisher, year, edition, pages
Springer Nature, 2027
Keywords Communication Protocol, Diagram Synthesis, Diagramming Framework, Programming Language Agnostic
National Category
Computer Sciences Software Engineering Computer Systems
Identifiers urn:nbn:se:kth:diva-388194 (URN) 10.1007/978-3-032-34178-5_31 (DOI) 2-s2.0-105048973777 (Scopus ID)
Conference 15th International Conference on the Theory and Application of Diagrams, Diagrams 2026, Tallinn, EST, August 25-28, 2026
Note Part of ISBN 9783032341778
QC 20260911
2026-09-112026-09-112026-09-11 Bibliographically approved