add title to diagram svg file