markgomer commented on PR #892:
URL: https://github.com/apache/age/pull/892#issuecomment-1589413400
My idea of implementing this appeared just because it's in the description
of the issue #271.
But I think that, since the purpose of the function is to create a new set
of nodes in a graph, it would be beneficial for them to have something like an
initial structure in common.
A use case I thought would be on creating a new group with a set of
individuals on a social media.
Maybe they could have an initial Status of newcomer in this group, with 0
reputation and Default privacy settings.
In the same line, the connection between them would start with a strength of
1, and if they are best friends as false.
We would start that graph with the command:
```opencypher
SELECT create_complete_graph('social_media', 20,
'group_connection', '{"strength":"1", "best_friends":"true"}',
'that_new_group', '{"Status":"Newcomer", "Reputation":"0",
"Privacy_settings":"Default"});
```
So that would serve as a baseline or starting point for all users, making
the initialization of the graph more straightforward.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]