With the object linking feature you can annotate relations or links between objects in the scene. These links can also contain link attributes.
This feature is in beta. Current limitations:
In 3D interfaces, links are only rendered for cuboids.
The format of the link annotations in the exported label attributes is documented here.
Enable the object linking feature
Navigate to the dataset settings and go to the "Labeling" section. At the bottom of the page, check the option "Use object linking". If the option is not present, it means that the dataset is not compatible yet (see limitations above).
Configure link attributes
Once the feature is activated, it's possible (but not required) to configure link attributes for each category.
Note that a link has a direction, from one object to another one. The attributes that will appear when annotating a link from one object to another one are determined by the from category.