While I'm not a prescriptivist, I think diagramming (and the rest of the strict English grammar education I was given in the 70's and 80's) helped me to understand why grammar rules exist and how they bring clarity to communication. I think that also helped me when learning to write code.