ScalarRelation
The ScalarRelation class describes a relationship between two ScalarNodes.
Properties
Property | Type | Description |
---|---|---|
body | ScalarNode | The node that is the subject of the relationship. |
endString | string | String describing the ending point of the relation (as with annotations). |
id | string | Unique id of the relation. |
index | number | The relation’s sorting index relative to its siblings (as with pages in a path). |
properties | object | All known properties associated with the relation. |
separator | string | Appropriate separate to insert between the startString and endString of the relation to express its span. |
startString | string | String describing the starting point of the relation (as with annotations). |
subType | string | Refines the type of an annotation relation. Possible values include “spatial”, “temporal”, or “textual”. |
target | ScalarNode | The node that is the object of the relationship. |
type | object | Object literal describing the type of the relationship. |
Previous page on path | Scalar API JavaScript library reference, page 5 of 5 | Path end, return home |
Discussion of "ScalarRelation"
Add your voice to this discussion.
Checking your signed in status ...