@graphty/graphty-element / schema / labelTemplateRow
Function: labelTemplateRow() ​
labelTemplateRow(
line):LabelTemplateRow|null
Defined in: graphty-element/src/session/styles/labelTemplate.ts:232
Read one template line as a row, when it is one: words, then one plain {path}, the whole line bold or not. Any other line -- two values, |count or |rank, words after the value, other markup -- is not a row and answers null, so an editor shows it as written.
Parameters ​
line ​
string
One line of a { template } binding.
Returns ​
LabelTemplateRow | null
The row, or null when the line is not one.