Skip to main content

Home > @jsplumbtoolkit/browser-ui > ViewEdgeOptions > label

ViewEdgeOptions.label property

Optional label to use for the edge. If this is set, a label overlay will be created and the value of label will be used as the overlay's label. This value can be parameterised, in order to extract a value from the edge's backing data, eg. if you set label:"{{name}}" then the Toolkit would attempt to extract a property with key name from the edge's backing data, and use that property's value as the label.


label?: string;