Skip to content

Barbell Graph #275

@JoshInnis

Description

@JoshInnis

the barbell graph is two complete graphs connected by a bridge path

Syntax:

ag_catalog.age_create_tadpole_graph(graph_name Name,
                                    m int,
                                    n int, 
                                    vertex_label_name Name DEFAULT = NULL,
                                    vertex_properties agtype DEFAULT = NULL,
                                    edge_label_name Name DEAULT = NULL,
                                    edge_properties agtype DEFAULT = NULL,
                                    bidirectional bool DEFAULT = true)

Input:

  • graph_name - Name of the graph to be created
  • m - number of vertices in both complete graphs
  • n - number of vertices in the bridge path.
  • 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 - Bidirectional True or False. Default True.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions