X-Git-Url: https://git.llucax.com/z.facultad/75.52/treemulator.git/blobdiff_plain/a164e095defb0f86d8dcde22c6054b5e2bc7da7b..9939d45f997d2855218e3acf5b51222e9680ce31:/viewer/view_btree.h?ds=inline diff --git a/viewer/view_btree.h b/viewer/view_btree.h index bd4f22c..e3a5c68 100644 --- a/viewer/view_btree.h +++ b/viewer/view_btree.h @@ -21,6 +21,9 @@ class ViewBTree : public Canvas::Group, public BTree { int max_level; /* Lo saco de la raiz */ /* Posicion X por nivel */ std::map pos_x; + /* Control para no poner 2 veces un nodo */ + /* Un nodo que quiera ser puesto 2 veces es un bug :) */ + std::map node_placed; void AddNode (uint num);