The "related-to" query allows a client to provide A&AI any starting node and request all related nodes of a requested node-type.


InputOutputUsersRelease(s)

A start node of any single node-type

A related to parameter value of any single node-type, related to the starting node type. (Providing a node-type not related to the starting type will result in an error)

optional edgeType (TREE or COUSIN)

The related to node-type


Casablanca


Details

Example payload

{
	"start":["..."],
	"query":"query/related-to?startingNodeType={node-type}&relatedToNodeType={node-type}"
}

OR 

{
	"start":["..."],
	"query":"query/related-to?startingNodeType={node-type}&relatedToNodeType={node-type}&edgeType={edge-type}"
}

The Traversal

Only objects at the end of a line will be returned.

{starting node-type} > {relatedTo node-type}


Example Output

 
  • No labels