Skip to content

Cycle Graph #273

Description

@JoshInnis

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions