I found the documentation for the diffgram. I’ve udated the original post with the location.
Also, I modified the code that prints the diffgram to remove the extraneous namespace declarations – this cleans up the diffgram significantly.
I’ve updated the code on the original post. If you downloaded the code from the original post, you may want to get the new version.