♻️ Components refactor: generator for relocate shapes (and tests)

This commit is contained in:
Pablo Alba 2024-04-29 16:37:21 +02:00 committed by Andrés Moya
parent 78d0611632
commit f354942487
7 changed files with 499 additions and 229 deletions

View file

@ -34,3 +34,9 @@
[f]
(reset-idmap!)
(f))
(defn label [id]
(->> @idmap
(filter #(= id (val %)))
(map key)
(first)))