Skip to content

undirected graph should support 'connectsFrom' #115

@moaxcp

Description

@moaxcp

connectsFrom creates an edge with 'two' set to the current vertex. It is the opposite of connectsTo where 'one' is set to the current vertex. It is useful for undirected graph to support this in the case that it is later converted to a directed graph.

vertex('A') {
    connectsFrom('B")
}

creates edge from 'B' to 'A' in an undirected graph.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions