age icon indicating copy to clipboard operation
age copied to clipboard

Complete Graph

Open JoshInnis opened this issue 3 years ago • 2 comments

A complete graph on n nodes means that all pairs of distinct nodes have an edge connecting them.

Syntax:

ag_catalog.age_create_complete_graph(graph_name Name, nodes int,
                                     vertex_label_name Name DEFAULT = NULL,
                                      vertex_properties agtype DEFAULT = NULL,
                                      edge_label_name Name DEAULT = NULL,
                                      edge_properties agtype DEFAULT = NULL);

Input:

  • graph_name - Graph Name
  • nodes - Number of Nodes
  • vertex_label_name - Name of the label to assign each vertex to.
  • vertex_properties - Property values to assign each vertex. Default is NULL
  • edge_label_name - Name of the label to assign each edge to.
  • edge_properties - Property values to assign each edge. Default is NULL

Returns GraphId?

https://en.wikipedia.org/wiki/Complete_graph

JoshInnis avatar Sep 06 '22 23:09 JoshInnis

@JoshInnis, I would like to contribute and develop this algorithm using python.

thegautamkumarjaiswal avatar Sep 11 '22 15:09 thegautamkumarjaiswal

ag_catalog.age_create_complete_graph(graph_name Name, nodes int)

JoshInnis avatar Sep 30 '22 16:09 JoshInnis

Working on this functionality.

susano0 avatar Oct 13 '22 07:10 susano0