Type Alias ManhattanConnectorConfigType

ManhattanConnectorConfigType: {
    endDirections: DirectionValue[];
    maxAllowedDirectionChange: number;
    maxLoops: number;
    startDirections: DirectionValue[];
    step: number;
}

Type declaration

  • endDirections: DirectionValue[]

    Possible ending directions from an element.

    all directions
    
  • maxAllowedDirectionChange: number

    Limit for directions change when searching route.

    90
    
  • maxLoops: number

    If number of route finding loops exceed the maximum, stops searching and returns fallback route

  • startDirections: DirectionValue[]

    Possible starting directions from an element.

    all directions
    
  • step: number

    Size of the step to find a route.

    12