@graphty/graphty-element / schema / LabelTemplateRow
Interface: LabelTemplateRow ​
Defined in: graphty-element/src/session/styles/labelTemplate.ts:213
One template line that reads one value: the words before it, and whether the line is bold. { text: "Connections: ", path: "results.degree.value" } is the line "Connections: {results.degree.value}"; with bold: true it is wrapped in <bold>.
Properties ​
bold? ​
readonlyoptionalbold?:boolean
Defined in: graphty-element/src/session/styles/labelTemplate.ts:219
Whether the whole line is bold.
Default ​
falsepath ​
readonlypath:string
Defined in: graphty-element/src/session/styles/labelTemplate.ts:217
The path the value is read from, in the dialect of a by binding.
text ​
readonlytext:string
Defined in: graphty-element/src/session/styles/labelTemplate.ts:215
The words before the value, drawn as written (no markup).