Given that we are handling different types of data repeatedly, through Dictionary values, I think it would make perfect sense to define them as proper types and then create objects (of the aforementioned types) accordingly.
It will make the code quite cleaner + they can be used as part of differentiating what-is-what (instead of relying too much on our core types, which is more than often since this is what we do e.g. for node/edge filters)
Given that we are handling different types of data repeatedly, through Dictionary values, I think it would make perfect sense to
define
them as proper types and then create objects (of the aforementioned types) accordingly.It will make the code quite cleaner + they can be used as part of differentiating what-is-what (instead of relying too much on our core types, which is more than often since this is what we do e.g. for node/edge filters)