Sign in or register
for additional privileges

Scalar 1 User’s Guide

You appear to be using an older verion of Internet Explorer. For the best experience please upgrade your IE version or switch to a another web browser.

ScalarRelation

The ScalarRelation class describes a relationship between two ScalarNodes.

Properties


PropertyTypeDescription
bodyScalarNode
The node that is the subject of the relationship.
endStringstringString describing the ending point of the relation (as with annotations).
idstringUnique id of the relation.
indexnumberThe relation’s sorting index relative to its siblings (as with pages in a path).
propertiesobjectAll known properties associated with the relation.
separatorstringAppropriate separate to insert between the startString and endString of the relation to express its span.
startStringstringString describing the starting point of the relation (as with annotations).
subTypestringRefines the type of an annotation relation. Possible values include “spatial”, “temporal”, or “textual”.
targetScalarNode
The node that is the object of the relationship.
typeobjectObject literal describing the type of the relationship.
Comment on this page
 

Discussion of "ScalarRelation"

Add your voice to this discussion.

Checking your signed in status ...

Previous page on path Scalar API JavaScript library reference, page 5 of 5 Path end, return home