Skip to content

Remove GraphVisualizer and inefficient methods in ShortestPathTree#7526

Merged
leonardehrenfried merged 6 commits intoopentripplanner:dev-2.xfrom
leonardehrenfried:remove-visualizer
Apr 20, 2026
Merged

Remove GraphVisualizer and inefficient methods in ShortestPathTree#7526
leonardehrenfried merged 6 commits intoopentripplanner:dev-2.xfrom
leonardehrenfried:remove-visualizer

Conversation

@leonardehrenfried
Copy link
Copy Markdown
Member

Summary

As dicussed today, this removes the GraphVisualizer and also some methods in ShortestPathTree that eagerly create GraphPaths.

@leonardehrenfried leonardehrenfried requested a review from a team as a code owner April 14, 2026 09:33
@leonardehrenfried leonardehrenfried added the !Technical Debt Improve code quality, no functional changes. label Apr 14, 2026
@codecov
Copy link
Copy Markdown

codecov bot commented Apr 14, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 72.54%. Comparing base (ea878c8) to head (53b6236).
⚠️ Report is 44 commits behind head on dev-2.x.

Additional details and impacted files
@@              Coverage Diff              @@
##             dev-2.x    #7526      +/-   ##
=============================================
+ Coverage      71.29%   72.54%   +1.25%     
+ Complexity     21214    21185      -29     
=============================================
  Files           2365     2357       -8     
  Lines          87754    86145    -1609     
  Branches        8681     8503     -178     
=============================================
- Hits           62566    62498      -68     
+ Misses         22178    20636    -1542     
- Partials        3010     3011       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

# Conflicts:
#	application/src/main/java/org/opentripplanner/routing/impl/GraphPathFinder.java
#	application/src/main/java/org/opentripplanner/visualizer/GraphVisualizer.java
#	application/src/main/java/org/opentripplanner/visualizer/ShowGraph.java
#	application/src/test/java/org/opentripplanner/graph_builder/module/osm/OsmModuleTest.java
Copy link
Copy Markdown
Contributor

@vpaturet vpaturet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.
You can also remove onStartOptServerChkChanged()

@leonardehrenfried leonardehrenfried added this pull request to the merge queue Apr 20, 2026
Merged via the queue into opentripplanner:dev-2.x with commit 80faa14 Apr 20, 2026
8 checks passed
@leonardehrenfried leonardehrenfried deleted the remove-visualizer branch April 20, 2026 11:59
t2gran pushed a commit that referenced this pull request Apr 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

!Technical Debt Improve code quality, no functional changes.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants