@neilspragg1 wrote:
Using the function like this: myShapes.model.nodeDataArray = go.Shape.getFigureGenerators().toArray(); works as expected and displayed all the icons from the figures.js file on the Graph.
However using it like this: var figures = go.Shape.getFigureGenerators().toArray(); only returns the first 182 icons and the rest are missing. I want to use the same icons used on the graph for popup help using: var svg = go.Geometry.stringify((figures[i].value("", 10, 10))); and this works well for the 182 icons that were returned, I need to get to some icons that were nor returned as well. Why does the function: go.Shape.getFigureGenerators().toArray(); work ok to display the icon map on the graph (returns more than 182) but only returns 182 icons to the array when called directly.
Thanks
Posts: 3
Participants: 2