SkillAgentSearch skills...

Daggraph

Dagger dependency graph generator for Android Developers

Install / Use

/learn @dvdciri/Daggraph
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

<p align="center"><a href="https://github.com/dvdciri/daggraph" target="_blank"><img width="200"src="img/icon.png"></a></p> <h1 align="center">Daggraph</h1> <p align="center"><a href="http://square.github.io/dagger/" target="_blank">Dagger</a> dependency graph generator for Android Developers</p> <p align="center"> <a href="https://travis-ci.org/dvdciri/daggraph"><img src="https://travis-ci.org/dvdciri/daggraph.svg?branch=master" alt="Build Status"></a> <a href="https://www.npmjs.com/package/daggraph"><img src="https://img.shields.io/npm/dt/daggraph.svg" alt="npm"></a> <a href="https://www.npmjs.com/package/daggraph"><img src="https://img.shields.io/npm/v/daggraph.svg" alt="npm"></a> <a href="LICENSE"><img src="https://img.shields.io/badge/license-MIT-blue.svg" alt="License"></a> </p>

Deprecation

This library is now deprecated in favour of solutions based directly on the Dagger PSI (BindingGraphPlugin). The project will no longer be maintained.

This is an example project that works pretty well: https://github.com/arunkumar9t2/scabbard.

Usage

Simple usage:

daggraph <folder_path>

<p align="center"> <img height="200" src="img/bubble_graph.jpg" /> <img height="200" src="img/tree_graph.jpg" /> <img height="200" src="img/linked_node_graph.png" /> </p>

Export raw data:

daggraph raw <folder_path>

Features

Those are the features that are currently supported and used to build the graph, some of them are work in progress while some other will be picked up at a later stage

| Feature | Java | Kotlin | | ----------------------|:-------------:|:-------:| | @Module | ✅ | ✅ | | @Component | ✅ | ✅ | | @SubComponent | ✅ | ✅ | | @Provides | ✅ | ✅ | | Field @Inject | ✅ | ✅ | | Constructor @Inject | ❌ | ❌ | | @Named() | ✅ | ✅ | | @Binds | ❌ | ❌ | | Component dependencies| ❌ | ❌ | | Extended modules | ❌ | ❌ | | ActivityBuilder | ❌ | ❌ |

Install

npm install -g daggraph

Help

Usage
   
  $ daggraph            # uses current folder path
  $ daggraph <path>     # uses <path>
  $ daggraph raw        # uses current folder path and export the raw data
  $ daggraph raw <path  # uses <path> and export the raw data
   
Examples

   $ daggraph /Path/to/android/project

Contribute

Feel free to contribute by checking out the issues and picking somethig up! 😄 (follow the general opensource <a href="https://opensource.guide/how-to-contribute/">contribution giudelines</a>)

A big shout for the contributions:

Created by

Davide Cirillo

License

MIT © Davide Cirillo

View on GitHub
GitHub Stars1.1k
CategoryDevelopment
Updated1mo ago
Forks59

Languages

JavaScript

Security Score

100/100

Audited on Feb 26, 2026

No findings