Readonly
relatedThe DataObject that is the target of this Relationship.
This Relationship will be stored in the DataObject.relating attribute of the related DataObject.
Readonly
relatingThe DataObject that is the source of this Relationship.
This Relationship will be stored in the DataObject.related attribute of the relating DataObject.
Readonly
typeThe type of this Relationship.
This value uniquely identifies the relationship type within your DataModel.
Represents a relationship between two DataObjects.
This class defines the connection between two objects in a data model, which can be of any type that identifies the relationship. This relationship is stored within the related and relating attributes of the DataObject.
For detailed usage, refer to @xeokit/sdk/data.