hcp-uw/algo-visualizer

Graph Component Refactoring

Closed this issue · 0 comments

Currently, the Graph component holds the metadata about the graph and also has DFS highlighting hard-coded into the component. This needs to be refactored so that we have a standard Graph component that we can use, similar to Array1D, where it has all of the useful graph methods we need, but we pass in the algorithm highlighting information into it depending on the algorithm that's being run.