Using neato: overlap=scale

Hello!
I’m returning to some graph-generating code from a couple years ago and am finding that the positions provided by neato 11.0.0 are not behaving as before.

strict graph {
        graph [ overlap="scale" ]
        1
        2
        1 -- 2
}

For neato - graphviz version 2.43.0 (0) I get:

strict graph {
        graph [bb="0,0,125.21,46.639",
                overlap=scale
        ];
        node [label="\N"];
        1       [height=0.5,
                pos="27,28.639",
                width=0.75];
        2       [height=0.5,
                pos="98.21,18",
                width=0.75];
        1 -- 2  [pos="53.516,24.677 59.368,23.803 65.572,22.876 71.434,22"];
}

For neato - graphviz version 11.0.0 (20240428.1522) I get complete overlap:

strict graph {
        graph [bb="0,0,54,36",
                overlap=scale
        ];
        node [label="\N"];
        1       [height=0.5,
                pos="27,18",
                width=0.75];
        2       [height=0.5,
                pos="27,18",
                width=0.75];
        1 -- 2  [pos="27,18 27,18 27,18 27,18"];
}

Do I need to change/update my dot file to avoid overlaps as before?

Filed a new bug for this, neato 'overlap=scale' no longer works (#2564) · Issues · graphviz / graphviz · GitLab. It’s likely the same issue as SFDP overlap removal using scaling breaks when there is no overlap present (#2560) · Issues · graphviz / graphviz · GitLab.

fix 'overlap="scale"' causing nodes to overlap one another (!3836) · Merge requests · graphviz / graphviz · GitLab should fix it.