Hello everyone!We have a network graph that shows all of the individual's relationships. This schema has its own json structure (tree-data.png), which is supplied to js to create connections in the form of nodes (shema.png). And when the user clicks Maria Public, it should display its connections. Then click on her connections, which should bring up additional connections, and so on (connections.png). Because of the way this structure is implemented, each new link must be placed in a block of children, but we don't know how many connections there are. So we wanted a dynamic structure with an unknown depth (structure.png), which OutSystems does not provide (as previously asked). So can someone provide a workaround for this please?
Everything ok Alex
So I came across this situation recently and in my research I found some possibilities, I followed the links of what I identified as being possible, we ended up limiting our structure to 10 levels, which for the scenario would be a size larger than necessary.
By including a Depth or Level attribute which is an integer and specifies the depth/level within the tree https://www.outsystems.com/forums/discussion/7807/nested-recursive-structure-data-type-definition/
How to Deal with Complex Data Structures - same solutions
https://www.outsystems.com/blog/posts/complex-data-structures/
Thanks for the quick response, Paulo!I was also considering limiting the structure, but I believed there could be a better method. I'll continue looking for other options, and if none come up, I'll fall back on this one.