Insert -> Template and select "DrawIO". Add a parameter "name" and put a unique name for saving this diagram.
Then in view mode, if logged in, you can edit it with the [[ ]] Edit Source button on top of it !
Here is a sample: