The Nest
Explore
Sign in
akkartik
snap.love
0058-centroid
0
graph drawing tool
Code
Changes
Tags
Discussions
main
centroid = function(node) return { sx=node.x + node.width/2, sy=node.y + node_height(node)/2 } end