The picture at https://devmanual.gentoo.org/ebuild-writing/functions/diagram.png is cut off on the left and right sides, so the "pkg_setup" and "pkg_postinst" boxes are missing. The corresponding diagram.svg in the git repo is o.k., so I guess something with the conversion to png went wrong.
The SVG viewport doesn't look right. Fix: --- diagram.svg 2012-10-17 19:40:50.000000000 +0000 +++ diagram-fixed.svg 2015-09-07 09:52:13.063560667 +0000 @@ -6,7 +6,7 @@ version="1.0" width="1100" height="80" - viewBox="0 100 830 80" + viewBox="-130 100 1100 80" id="svg2503"> <defs id="defs2577" />
The fix works for me so I have committed it. Thanks