Skip to content

ObjectRelationshipComponent

component

Selector: yuv-object-relationship

Standalone: No

Type: RelationshipComponentConfig

Required: Yes

Configuration for the relations component.

Type: "list" | "graph"

Default Value: 'graph'

Display mode for the relationship view.

Type: string

Required: Yes

ID of the object to display relations for.

Type: TemplateRef<any> | null

Default Value: null

Type: "list" | "graph"

Display mode for the relationship view.

Type: unknown

Default Value: this.#objectRelationshipService.busy

Type: unknown

Default Value: computed(() => \{ const rel = this.#relations(); return rel && rel.relations.totalNumItems === 0; \})

Type: unknown

Default Value: signal<DmsObject | null>(null)

Type: unknown

Default Value: computed<Relationship[]>(() => \{ const obj = this.originObject(); return obj ? this.#system.getSupportedRelationships(obj) : []; \})

addRelationship(): void
toggleMode(): void