Vocabulary and Aliases

Here is a list of all property keys and defined string values. There are a number of alias values, which an implementation MAY support. See also Migrating from JSON Graph.

Table 1. Properties
Property Name Is Alias For Usage in See

dir

direction

Endpoint

1

endpoint

endpoints

Edge

2, 3

edge

edges

Graph

2

from

source

Edge

3

graph

graphs

Document

2

hyperedges

edges

Graph

4

node

nodes

Graph

2

sources

source

Edge

2, 3

targets

target

Edge

2, 3

to

target

Edge

3

  • (1) Alias Ambiguity: The non-alias value has precedence if both property and alias property are used.

  • (2) Single- and array properties: If both are used, are silently merged at parse-time into a single array.

  • (3) Endpoints: All endpoint properties generate endpoints of an edge.

  • (4) Alias for JSON Graph compatibility

Table 2. Values for Endpoint direction
Value Is Aliases For Usage in

incoming

in

Endpoint

none

undir

Endpoint

outgoing

out

Endpoint

undirected

undir

Endpoint

Table 3. Graph Properties

Alternative

Parsed as

directed: true

edgeDefault: directed

directed: false

edgeDefault: undirected

For compatibility with JSON Graph.