additional crossings are produced. Moreover, they do
not consider the ordering of edges, since there is at
most one edge from one vertex to another vertex.
(B
¨
ohringer and Paulisch, 1990) introduce absolute
and relative constraints to fix the order of vertices.
This is a viable solution to maintain graph order but
this, again, does not prevent additional crossings. We
want to automatically produce drawings that maintain
the graph order without causing additional crossings.
Again, B
¨
oringer and Paulisch do not constrain edges
but only vertices, which solves only one of our prob-
lems since no dummy vertices can be constrained.
6 CONCLUSION
We presented a solution to preserve the graph order
by setting an initially best ordering for crossing min-
imization. This allows us to maintain the graph or-
der without causing additional crossings introduced
by local minima other than through coincidence or or-
der constraints for many models.
Including the proposed graph order metric in the
crossing minimization step additionally to the cross-
ings as a secondary criterion seems beneficial. There-
fore, prioEdgeOrder with weighted vertices and ports
(E
w
p
,w
v
) is one potential option for SCCharts. An-
other one is V since it allows to control the layout
without changing the semantic by changing the vertex
graph order. Therefore, we make this setting config-
urable for SCCharts and to evaluate this further.
Future work on this project should evaluate
whether SCCharts that are created in a tool that vi-
sualizes the diagram taking the graph order into ac-
count results in more consistent models or otherwise
changes the way modelers design.
REFERENCES
Barth, W., Mutzel, P., and J
¨
unger, M. (2004). Simple and
efficient bilayer cross counting. Journal of Graph Al-
gorithms and Applications, 8(2):179–194.
B
¨
ohringer, K.-F. and Paulisch, F. N. (1990). Using con-
straints to achieve stability in automatic graph layout
algorithms. In Proceedings of the SIGCHI Conference
on Human Factors in Computing Systems, pages 43–
51, New York. ACM.
Domr
¨
os, S. and von Hanxleden, R. (2021). Preserving
order during crossing minimization in sugiyama lay-
outs. Technical Report 2103, Christian-Albrechts-
Universit
¨
at zu Kiel, Department of Computer Science.
ISSN 2192-6247.
Eades, P., Lai, W., Misue, K., and Sugiyama, K. (1991).
Preserving the mental map of a diagram. In Proceed-
ings of the First International Conference on Compu-
tational Graphics and Visualization Techniques, pages
34–43.
Eades, P. and Wormald, N. C. (1986). The median heuristic
for drawing 2-layered networks. Technical Report 69,
University of Queensland, Department of Computer
Science.
Garey, M. R. and Johnson, D. S. (1983). Crossing num-
ber is NP-complete. SIAM Journal on Algebraic and
Discrete Methods, 4(3):312–316.
Karp, R. M. (1972). Reducibility among combinatorial
problems. In Miller, R. E. and Thatcher, J. W., editors,
Complexity of Computer Computations (Proceedings
of a Symposium on the Complexity of Computer Com-
putations, March, 1972, Yorktown Heights, NY), pages
85–103. Plenum Press, New York.
Kieffer, S., Dwyer, T., Marriott, K., and Wybrow, M.
(2016). HOLA: human-like orthogonal network lay-
out. IEEE Trans. Vis. Comput. Graph., 22(1):349–
358.
Mennens, R. J., Scheepens, R., and Westenberg, M. A.
(2019). A stable graph layout algorithm for processes.
In Computer Graphics Forum, volume 38, pages 725–
737. Wiley Online Library.
Misue, K., Eades, P., Lai, W., and Sugiyama, K. (1995).
Layout adjustment and the mental map. Journal of
Visual Languages & Computing, 6(2):183–210.
Petre, M. (1995). Why looking isn’t always seeing: Read-
ership skills and graphical programming. Communi-
cations of the ACM, 38(6):33–44.
Purchase, H. C. (1997). Which aesthetic has the greatest
effect on human understanding? In Proceedings of the
5th International Symposium on Graph Drawing (GD
’97), volume 1353 of LNCS, pages 248–261. Springer.
Purchase, H. C., Archambault, D., Kobourov, S.,
N
¨
ollenburg, M., Pupyrev, S., and Wu, H.-Y. (2020).
The turing test for graph drawing algorithms. In Inter-
national Symposium on Graph Drawing and Network
Visualization, pages 466–481. Springer.
Sp
¨
onemann, M., Fuhrmann, H., von Hanxleden, R., and
Mutzel, P. (2010). Port constraints in hierarchical
layout of data flow diagrams. In Proceedings of
the 17th International Symposium on Graph Draw-
ing (GD ’09), volume 5849 of LNCS, pages 135–146.
Springer.
Sugiyama, K., Tagawa, S., and Toda, M. (1981). Methods
for visual understanding of hierarchical system struc-
tures. IEEE Transactions on Systems, Man and Cy-
bernetics, 11(2):109–125.
von Hanxleden, R., Duderstadt, B., Motika, C., Smyth, S.,
Mendler, M., Aguado, J., Mercer, S., and O’Brien,
O. (2014). SCCharts: Sequentially Constructive
Statecharts for safety-critical applications. In Proc.
ACM SIGPLAN Conference on Programming Lan-
guage Design and Implementation (PLDI ’14), pages
372–383, Edinburgh, UK. ACM.
Waddle, V. (2001). Graph layout for displaying data struc-
tures. In Proceedings of the 8th International Sympo-
sium on Graph Drawing (GD ’00), volume 1984 of
LNCS, pages 98–103. Springer.
Preserving Order during Crossing Minimization in Sugiyama Layouts
163