Interface RelationshipParams

Parameters for a Relationship.

See @xeokit/sdk/data for usage.

interface RelationshipParams {
    relatedObjectId: string;
    relatingObjectId: string;
    schema?: string;
    type: string;
}

Properties

relatedObjectId: string

The related DataObject.

relatingObjectId: string

The relating DataObject.

schema?: string

The relationship schema version, if applicable.

type: string

The relationship type.