Checks if the turns through the specified node can be edited.
An id of the node to check edit permissions for.
true
if all the segments going through the node allow connections to be edited.
an array of all the turns in the WME data model
An id of the turn to find.
turn with id, or null if not found in the WME data model
Get all turns from the segment
An id of the segment to find turns for.
all turns from the segment
Get all known turns through the node.
An id of the node to find turns for.
an array of all known turns through the node
Get all turns to the segment
An id of the segment to find turns for.
all turns to the segment
Determine if a turn is allowed between segments based on turn data
An id of the first segment to find the turn by.
An id of the node to find the turn by.
An id of the second segment to find the turn by.
true if a turn is allowed
Determine if a turn is allowed between segments based on directions
An id of the first segment to find the turn by.
An id of the node to find the turn by.
An id of the second segment to find the turn by.
true if a turn is allowed
Update turn by id.
Optional
isAllowed?: booleanIf turn is allowed or not.
An id of the turn to update.
Methods for dealing with Turns.