Can we set Auto-incremented positive key value by default in GoJS?

Can we set Auto-incremented positive key value by default in GoJS?
We check this link Flowchart

We want positive value of key when ever drag & drop any component from tool Palette.
Is there any way to do that.

You’ll want to set Model | GoJS API to a function that returns the unique-in-the-model key that you like.

Remember that functions cannot be serialized in JSON-formatted text (or any other format, really), so you will need to reset that property to your desired function every time that you load the model.

We saw this function already.
Here we have to implement a function which return desire value.
But We want default value without writing any function.
We want auto incremented position value.
We saw GoJS provide default key value is negation.
We only want position value instead of negation.
We though there would be some function , by setting that we can set the key value in position only.

If you want different behavior, you’ll need to set some properties and/or override some methods.