You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Anyway, I think the documentation should mention that the cells sites contain references to your original sites objects, since this is useful to know. Otherwise, you might assumes the cells sites are just copies of those sites.
var sites = [ {x: 200, y: 200, specialValue: yes}]
and then that specialValueis now attached in the output of cells when the voronoi is calculated:
diagram.cells[i].site['specialValue']
The text was updated successfully, but these errors were encountered: