Skip to content

Added Undirected Graph functionality#8

Open
BrainFRZ wants to merge 1 commit intobnmnetp:masterfrom
BrainFRZ:master
Open

Added Undirected Graph functionality#8
BrainFRZ wants to merge 1 commit intobnmnetp:masterfrom
BrainFRZ:master

Conversation

@BrainFRZ
Copy link
Copy Markdown

udg field has been added to constructor defaulting as False for compatibility,
and the undirected field has been added to the class.
When set to True, addEdge will now add the same edge in both directions.
Removed unused os import.

`udg` field has been added to constructor defaulting as False for
compatibility, and the `undirected` field has been added to the class.
When set to True, `addEdge` will now add the same edge in both
directions at the same time.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant