Don't add space between diagram and empty code.