Center a node in the screen

I’ve been looking but couldn’t find this in the older topics.

I’m trying to keep a node in the center of the screen at all times and have the rest of the nodes spread out around it. Then when a different node is clicked it becomes the center node and all other nodes should spread out around that. Is there any way to achieve this?

Take a look at the first example diagram at GoJS Initial Viewport -- Northwoods Software.