Layouts Made in Diagram Editors Are Held by Alignment and Flow, Not by Edge Length or Stress: A Per-Term Stationarity Test Before Fitting a Layout Energy

Authors
Vasili Gavrilov
Date
2026-09-05
PDF
stationary.pdf and Supplement S1 to S8
Deposit
doi:10.5281/zenodo.22313827 (Zenodo, all versions)
Sources, figures and data
github.com/Anode1/articles/cjitter
Code
github.com/Anode1/cjitter

Abstract

Fitting the weights of a layout energy to the coordinates of layouts people made assumes each layout is a local minimum of some weighting of the criteria. Per criterion, move each box 0.02 of the drawing width in sixteen directions and count the boxes no move improves, against a converged layout and a random one. On 853 working diagrams of 15 to 40 boxes from three editors, overlap holds every box. Uniform edge length and stress hold none, there and in 136 laboratory drawings and 1,072 figures from the Graph Drawing proceedings. A stress minimiser's own layouts are held at 1.00, and the hand layouts carry five to twelve times the minimiser's stress. A weight of 0.001 on either term beside crossings and overlap holds under 0.015 of the boxes. Two criteria the base energies omit do hold the working diagrams. Alignment: 58, 36 and 81 per cent of boxes sit in a row or column of three or more, against 4 to 7 by chance. Flow: 0.59 to 0.86 of boxes are held, against 0.28 to 0.41. Person or editor, the coordinates cannot say which aligned them.