You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@age.apache.org by "AbdulSamad4068 (via GitHub)" <gi...@apache.org> on 2023/05/19 18:21:17 UTC

[GitHub] [age] AbdulSamad4068 commented on issue #935: Setting custom number of edges in create_complete_graph()

AbdulSamad4068 commented on issue #935:
URL: https://github.com/apache/age/issues/935#issuecomment-1555063879

   the `create_complete_graph()` function you are using seems to generate the complete graph by default, connecting each vertex to every other vertex. If you want a different number of edges, you would need to modify the function or use a different approach.
   There are various algorithms and libraries available for generating random graphs, such as the Erdos-Renyi model, this model allows you to specify the number of vertices and edges to create a graph with a custom number of edges.


-- 
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: dev-unsubscribe@age.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org