GraphSchemaEdgeType
One traversable edge type. Every edge type the engine can walk is listed here, and a selector naming an edge type absent from this list is rejected.
Properties
namestring requiredThe edge type name, usable in traverse[].edgeTypes.fromenum requiredThe node type at the edge’s source.Values:resource,stacktoenum requiredThe node type at the edge’s destination.Values:resource,stackassertsstring requiredWhat the presence of this edge asserts about the two nodes it connects, and which end is which.singleHopboolean requiredWhether this edge type is walked in exactly one hop. A traverse step naming one must leave depth unset or set depth.max to 1.directionsarray[string] requiredThe traversal directions this edge type can be walked in, listed in the order ‘in’, ‘out’, ‘both’. A traverse step naming a direction absent from this list is rejected.basisenum requiredHow edges of this type are produced.Values:declared,inferred