FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Restructure BFS/tree.js by unfode · Pull Request #34 · algorithm-visualizer/algorithms · GitHub

Restructure BFS/tree.js - #34

Open
unfode wants to merge 1 commit into
algorithm-visualizer:masterfrom
unfode:restructure-BFS-treejs
Open

Restructure BFS/tree.js#34
unfode wants to merge 1 commit into
algorithm-visualizer:masterfrom
unfode:restructure-BFS-treejs

Conversation

unfode commented Apr 17, 2022

Copy link
Copy Markdown

I made three changes:

  • Adding G to the parameter list of the BFS function
  • Adding JSDoc to the BFS function
  • Moving the tracer-related code into the BFS function

The restructured code behaves the same as the original code on https://algorithm-visualizer.org/.

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL