Palette and node location

Hi, I have two questions
How to cancel Palette’s animation? He had an animation at the time of the build, and I wanted to cancel it
and How do I get nodes generated in the middle of the canvas?

The Palette class inherits from Diagram, so you can disable its Diagram.animationManager.

If you want the parts shown in the palette (or any diagram) to be centered, you first need to decide whether that should be true only initially, or always even after parts have been added or removed. In the former case you’ll want to set Diagram.initialContentAlignment; in the latter case you’ll want to set Diagram.contentAlignment.

$(go.Palette, . . .,
    initialContentAlignment: go.Spot.Center,
    "animationManager.isEnabled": false