Skip to content

@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? ​

readonly optional bold?: boolean

Defined in: graphty-element/src/session/styles/labelTemplate.ts:219

Whether the whole line is bold.

Default ​

ts
false

path ​

readonly path: 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 ​

readonly text: string

Defined in: graphty-element/src/session/styles/labelTemplate.ts:215

The words before the value, drawn as written (no markup).