How aekasu/goldberg-tarjan works
This React application lets users generate a flow network and inspect Goldberg–Tarjan Push–Relabel execution, either automatically or one step at a time. Its main runtime is concentrated in src/PushRelabelViz.jsx, which contains graph generation, algorithm state and logic, playback controls, visualization, and operation logs. The excerpts establish the app entry-point wiring; README statements support the product capabilities. Some internal connections are not visible in the excerpts, so they are marked unverified rather than presented as confirmed calls.
Main entry points: PushRelabelViz.jsx Visualizer · main.jsx React Entry · App.jsx App Shell
Components 9
Application Entry
- React Entry
src/main.jsx - App Shell
src/App.jsx
Flow Algorithm
- Network Generator
src/PushRelabelViz.jsx - Push–Relabel Engine
src/PushRelabelViz.jsx
Visualization Experience
- Visualizer
src/PushRelabelViz.jsx - Step Playback
src/PushRelabelViz.jsx - Graph View
src/PushRelabelViz.jsx - Operation Log
src/PushRelabelViz.jsx
Other components
- User
Connections 9
- User → React Entry: opens app
README.md - React Entry → App Shell: renders
src/main.jsx - App Shell → Visualizer: renders
src/App.jsx - Visualizer → Network Generator: requests network
src/PushRelabelViz.jsx - Network Generator → Push–Relabel Engine: provides graph
src/PushRelabelViz.jsx - Visualizer → Step Playback: controls steps
README.md - Step Playback → Graph View: shows current step
README.md - Step Playback → Operation Log: shows operations
README.md - Push–Relabel Engine → Operation Log: produces operation details
README.md