Draw.io File Locking or Real-Time Sharing

I just installed the draw.io integration app to try it out.

I shared a diagram, and noticed that if both users edit the file concurrently, then the last one to save will “win”, and there is no real-time collaboration.

Am I noticing that correctly? Is there any way to either lock the file when editing so that edits don’t get lost, or alternatively to have a live collaboration when there are multiple simultaneous editors?

Thanks! Just trying to get the hang of my new Nextcloud installation.