Hi
While using ForcedDirectedLayout, I have an issue that most of the diagrams look OK ,
but in some of them the links are so long that I have to scroll or zoom out for quite a few seconds before I can see the ends of it.
Perhaps you can still evaluate go.version? I thought I remembered fixing some cases like what you describe, but in checking our source code history, I don’t see it. So perhaps the version number doesn’t matter (yet).
Have you set any parameters on the ForceDirectedLayout?
In general if you want nodes to be closer together you should decrease the ForceDirectedLayout.defaultElectricalCharge, perhaps to 50, and the ForceDirectedLayout.defaultSpringLength, perhaps to 10. Also it might help to decrease the ForceDirectedLayout.infinityDistance, perhaps to 200.
That doesn’t address the occasional extreme behavior that you are seeing, which I think is caused by some numerical instability in very specific situations.