Diagram Control and Model Order for Sugiyama Layouts
Sören Domrös, Reinhard von Hanxleden
TL;DR
Automatic diagram layout often fails to capture user intent encoded as secondary notation. The authors propose using model order from the textual model to influence Sugiyama layout phases, applying this approach to SCCharts and Lingua Franca and grounding it with developer feedback. They present two practical strategies for SCCharts, a tie-breaker-based approach for Lingua Franca, qualitative interviews, and a generalizable guidebook for extracting model-order configurations. The work enables intent-preserving, stable diagrams that reflect textual design choices, while cautioning against default strict constraints that can produce clutter; it also highlights when to use model order as constraint versus a tie-breaker and offers guidance for future tooling.
Abstract
Graphical WYSIWYG editors programming languages are popular since they allow to control the diagram layout to express intention via secondary notation such as proximity and topology. However, such editors typically require users to do manual layout. Conversely, automatic layout of diagrams typically fails to capture intention because graphs are usually considered to not contain any order. Model order can combine the desire for control of secondary notation with automatic layout, without additional overhead, since the textual model already employs secondary notation. We illustrate how model order can exert control on the example of programming languages SCCharts and Lingua Franca. We also propose a first guidebook how such model order configurations can be extracted for other programming languages with a graphical notation.
