save diagram with user