shapeForLabel3.setTitle("shapeForLabel");
shapeForLabel3.enableConnectionCreate(true);
Shape shapeForDiamond = new Shape(diamond, CPShapeType.DIAMOND);
shapeForDiamond.showOnDiagram(diagram);
shapeForDiamond.enableConnectionCreate(true);
shapeForDiamond.setTitle("shapeForDiamond");
Shape shapeForTask = new Shape(task, CPShapeType.RECTANGLE);
shapeForTask.connectorsStyle = ConnectorStyle.DASHED;
shapeForTask.showOnDiagram(diagram);