| Package | com.yworks.graph.model |
| Interface | public interface ILabeledItem |
| Subinterfaces | IEdge, INode |
IGraph implementation
that may own ILabellabels.
Like all items in an IGraph, this item supports the
ILookup.lookup method that can be used
to query additional aspects of the item.
| Property | Defined by | ||
|---|---|---|---|
| labels : ILabelCollection
[read-only]
Provides access to a collection of
ILabels that
are owned by this instance. | ILabeledItem | ||
| labels | property |
labels:ILabelCollection [read-only]
Provides access to a collection of ILabels that
are owned by this instance.
This gives access to a read-only live view of the labels, i.e. the collection can change over time, as well as the labels contained in it. If a snapshot of the current state is needed, one needs to copy the collection and its contents.
Implementation public function get labels():ILabelCollection