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 size
Number The size (width and depth) in x and z direction
segments
Number The amount of segments in x and z direction.