the component template
{view:"diagram-editor", template:"#value#"}
// the diagram will show value of each data item from the specified datasource
{ view:"diagram-editor", template:"#value#" }
{ view:"diagram-editor", template: obj =>
typeof obj.value == "undefined" ? obj.id : obj.value
}
{ view: "diagram-editor", template:"html->template_container" }
{ view:"diagram-editor", template:"http->template.html" }