tags
- Introduction
Object Tags
- Audio
- HyperText
- Image
- Paragraphs
- Table
- Text
- TimeSeries
- Video
Control Tags
- Brush
- BrushLabels
- Choice
- Choices
- DateTime
- Ellipse
- EllipseLabels
- HyperTextLabels
- KeyPoint
- KeyPointLabels
- Label
- Labels
- List
- Number
- Pairwise
- ParagraphLabels
- Polygon
- PolygonLabels
- Ranker
- Rating
- Rectangle
- RectangleLabels
- Relation
- Relations
- Shortcut
- Taxonomy
- TextArea
- TimeSeriesLabels
- VideoRectangle
Visual & Experience Tags
- Collapse
- Filter
- Header
- Repeater
- Style
- View
Relation
The Relation
tag represents a single relation label. Use with the Relations
tag to specify the value of a label to apply to a relation between regions.
Parameters
Param | Type | Description |
---|---|---|
value | string |
Value of the relation |
[background] | string |
Background color of the active label in hexadecimal |
Example
Basic labeling configuration to apply the label “similar” to a relation identified between two labeled regions of text
<View>
<Relations>
<Relation value="similar" />
</Relations>
<Text name="txt-1" value="$text" />
<Labels name="lbl-1" toName="txt-1">
<Label value="Relevant" />
<Label value="Not Relevant" />
</Labels>
</View>
Couldn't find what you were looking for? Please let us know on
Slack
If you found an error, you can file an issue on GitHub!

If you found an error, you can file an issue on GitHub!