I want initial focus on first generated node, in some cases my Diagram initially focus on empty area like this:
In an “InitialLayoutCompleted” DiagramEvent listener find the Node you want to focus on. If you find it, call CommandHandler.scrollToPart with that Node.
CommandHandler | GoJS API
There are some samples that call that command, for example:
Drawing Attention to a Node
Gantt chart in the doubleClick event handler