Label templates
When you're working with a map that displays labels for elements, connections, or loops, Kumu will only display the text in the Label field by default. If you want to include other fields in the label, label templates can help you do that.
Label templates are customized through the Advanced Editor, using a simple syntax.
selector {
label: "{{Field name}}";
}
Replace selector
with any valid selector, and replace Field name
with the name of any of your fields. Remember to wrap each field name in double curly brackets {{}}
and wrap the entire label
value in double quotes.
For example, below is the code for an element label that includes the label and element type.
element {
label: "{{label}} {{element type}}";
}
Last updated
Was this helpful?