I'm looking for some widely used tool / library / approach to describe the hierarchical model structure as a set:
It is absolutely simple how to do it with a simple set like
It can even be explained in yml format like this:
code: "cats" models: - code: "siamese" - code: "persian" - code: "sphynx"
It is obvious from the code that runs a simple set model that lets go first and the parent model adds its results.
But it seems difficult to describe the hierarchical model in the same way because it runs in the reverse direction. Probably someone can suggest an approach to do it.