age icon indicating copy to clipboard operation
age copied to clipboard

Cycle Graph

Open JoshInnis opened this issue 3 years ago • 1 comments

A cycle graph or circular graph is a graph that consists of some number of vertices (at least 3) connected in a closed chain.

Syntax: ag_catalog.age_create_cycle_graph(graph_name name, n int, bidirectional bool DEFAULT = true)

Input:

  • graph_name - Name of the Graph
  • n - number of vertices in the cycle
  • 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
  • bidirectional

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

JoshInnis avatar Sep 06 '22 23:09 JoshInnis

This looks interesting ! I am happy to contribute.

aked21 avatar Sep 07 '22 00:09 aked21

@JoshInnis Is this issue still open? May I tackle this one?

markgomer avatar Dec 30 '22 13:12 markgomer

Yes, please work on this.

JoshInnis avatar Dec 31 '22 15:12 JoshInnis

I have done work on this and it works for now. Attaching screenshots.

Image

skkk98 avatar Jan 04 '23 16:01 skkk98

Now I see that you already made pull request #400 for this. I'm stopping the work on this one then.

markgomer avatar Jan 05 '23 02:01 markgomer