CanvasAdapter.generateNextGroupName Method

Generate the next available group name by seeing what group is present on the canvas.
 

Parameters

originalName

Type: String
The original group name to generate with.
preventNames

Type: array
ElementType: String
Names to avoid being generated.