> I think it can sometimes be caused by me just being haphazard about re-exporting them, but other times I'm not sure.
I think so too. I guess that's how your project is structured and duplicates maybe inevitable.
The graph shows exactly how the project is organized. Right - "duplicates confuse things" - this would suggest eliminating "files that re-export functions/classes" or passing an option (-i) for ignoring specific paths would help. Otherwise, this issue is noted for further analysis.
Thanks for trying depgraph.