Skip to content

typo - existing edge check #31

@dsplog

Description

@dsplog

def add_edge(self, eid, frm, to, elb):
"""Add an edge to the graph."""
if (frm is self.vertices and
to in self.vertices and
to in self.vertices[frm].edges):
return self

    if (frm is self.vertices and 

--> to be change to

    if (frm in self.vertices and 

?

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