gmap_add_child
gmap_add_child(sg->parent, sg);
gmap_add_child(parent, res);
gmap_add_child(parent, new);