Interesting in development
dependency_graph: an import map for Dart projects
A command-line tool that shows who imports whom in a Dart package or pub workspace on one interactive HTML page.

When a project has many packages, it is hard to keep track of who depends on whom and which external libraries are actually used. Mutual dependencies between packages are easy to miss along the way.
dependency_graph scans a package or a pub workspace root and writes one interactive HTML page of graphs. It shows the packages and the number of directives between them, a package's files grouped by folder, and every external library from pubspec.lock with its version, while packages that import each other are marked red. The tool runs with dart run dependency_graph, and as a library it returns the same data for your own tools.
The tool is useful for teams with a pub workspace or an app split into packages. The import map helps spot mutual dependencies and unneeded links and discuss architecture based on what is actually in the code.
Open on pub.dev

