Input diagramData includes a diagram id