new Graph(gridIn, optionsopt)
- Source:
Creates an instance of Graph.
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
gridIn |
Grid | input grid, each cell has to be a number weight where 0 = wall or pass the getWeight function in the options |
||
options |
object |
<optional> |
{}
|