tooltip.shapeTemplateFunction
Defines the tooltip that will be shown when hovering over a connection.
Example
<div id="diagram"></div>
<script>
$("#diagram").kendoDiagram({
tooltip: {
shapeTemplate: (e)=> `T: ${e.content.text}`
},
shapes: [
{ id: "1", x: 100, y: 100, content: { text: "Tooltip appears" } }
]
});
</script>