apache / apache/age

Cycle Graph

Open
#273 5 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
C
Stars
4.8k
Forks
523
Avg merge
1d 2h
Merged PRs (30d)
9

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.