Renamed renderSvg to diagram in hlit-diagrams-svg.