I want the content to be divide into two lines. So I tried setting `connectionDefaults.content.visual` with the below function: var getConnection = function (data) { var g = new kendo.dataviz.diagram.Group({ autoSize: true }); var text1 = new kendo.dataviz.diagram.TextBlock({ text: data.label.name, fontSize: 16 }); g.append(text1); var text2 = new kendo.dataviz.diagram.TextBlock({ text: data.label.value, fontSize: 16 }); g.append(text2); return g; } But the problem here is that the `data` field does not populate the connection data due to which assigning values is not possible. A solution for this is much appreciated.