On the diagrammatic analysis of electron correlation effects in atoms and molecules