// The node's resolved label text ('' when none)
ele.label(): string | undefinedThe node's resolved label text ('' when none). To set the label, update the stylesheet or the data field it reads.
Returns
string | undefinedthe resolved text of the first element's label — '' when it has none (a labelled-but-empty label reads the same), and undefined when the collection is empty or the element was removed