I’ve just tried disconnecting the secondary display and setting the built-in screen resolution to 1024 x 640.
Apart from a slightly smoother animation while dragging the graph, I couldn’t notice any improvement. There’s still a 5–10 second freeze.
In case it helps with anything, I also tried deleting the .obsidian folder.