Skip to content
This repository was archived by the owner on Jun 18, 2026. It is now read-only.

refactor: deduplicate BFS/component logic in GraphStorytellerExporter - #151

Merged
sauravbhattacharya001 merged 1 commit into
masterfrom
refactor/storyteller-use-graphutils
Apr 1, 2026
Merged

sauravbhattacharya001 merged 1 commit into
masterfrom
refactor/storyteller-use-graphutils

Conversation

@sauravbhattacharya001

Copy link
Copy Markdown
Owner

Replaces hand-rolled BFS and component-finding code in GraphStorytellerExporter with existing GraphUtils methods. Removes ~40 lines of duplicated traversal code. No behavioral changes.

…xporter with GraphUtils

- findComponents() now delegates to GraphUtils.findComponents()
- estimateDiameter() uses GraphUtils.bfsDistances() instead of local bfs/bfsFarthest/bfsMaxDist
- Removes ~40 lines of duplicated BFS traversal code
- No behavioral changes
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@github-actions github-actions Bot added visualization Graph visualization and UI size/m labels Apr 1, 2026
@sauravbhattacharya001
sauravbhattacharya001 merged commit f80665d into master Apr 1, 2026
4 of 8 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

size/m visualization Graph visualization and UI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant