I don't know what .idea/ is, but I think .dia makes sense as I have included the source files for the diagrams, so I would assume people would use Dia to edit them, and they would probably end up accidentally adding the autosave files as I did.