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.

dependency_graph: an import map for Dart projects

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

More articles

08 / FAQ

Still have questions?

It depends on the scope: a landing page, a corporate site and a web service are priced differently. Get a rough range in our calculator in 30 seconds; the exact price is fixed before work starts.

The price depends on the number of screens, platforms (iOS, Android) and the backend. Describe your idea in the calculator to see the budget range, timeline and team.

The timeline depends on the task and is agreed before work starts, not after. The calculator gives a timeline estimate too.

Yes. We run research, design the interface and build a design system that your own team can take into development.

Yes, and with other cities of Kazakhstan too. We work remotely with regular calls, updates and project documentation.

Yes. We first review the code and the current state of the product, then propose an improvement plan and join the process.

A short description of the task is enough. A technical specification is optional — we'll ask the clarifying questions ourselves.

The full cycle: analytics, UX/UI design, iOS, Android, web and backend development, testing, release and post-launch support.

Have an idea? Let's turn it into a working product.

We reply within one business day