new GraphUtils()
Methods
-
static createGridLayout(size, segments) → {Graph}
-
Generates a navigation graph with a planar grid layout based on the given parameters.
Parameters:
Name Type Description sizeNumber The size (width and depth) in x and z direction
segmentsNumber The amount of segments in x and z direction.