Closed deepak-nulu closed 3 years ago
Traversal code was already moved out of the model classes a while back in https://github.com/tree-ware/tree-ware-kotlin-core/commit/7a96dc4f4f43aad9979155399747e0d540f44d83. But there is still some work that can be done to make the code more uniform (uniformity will help resolve #4).
Traversal of multiple models is outside of the model classes, but traversal of a single model is inside the model classes. Make traversal of a single model be outside as well to make the model classes simpler and to make traversal code more uniform.