You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[FEATURE] Show dependency graph for Angular standalone components #1296
Angular introduced standalone components as a way to make NgModules optional to use.
Currently, Compodoc doesn't show dependency graphs for standalone components imports and providers.
Feature request: build and show dependency graphs for standalone components, and properly link them together and other NgModules.
Motivation for or Use Case
Switching to standalone components makes Compodoc not useful if it doesn't build and show dependency graphs.
Thank you
Reacted by Gaubee, jonz94, Natalia LaFever, 渡邉 聡, Clara Castillo, GabrielF-C, Manuel Jiménez, i23591326, Andreas Helget, Dennis Zimmermann and 14 more
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Reacted by Natalia LaFever, Clara Castillo, Abidi-Wajih, TheOneAndOnlyTopG, Joe K., Valentin Dumitru, Dennis Mayer and schnador
I've been eagerly awaiting this feature since Angular 19 launched, as the dependency graph is the bread and butter of Compodoc. This is exactly why I chose it over ngDoc or Storybook.
It's June 2025, almost 3 years after the issue has been reported. Can anybody on the compodoc team give a statement on whether this bug (no, right now it is not a feature) will be fixed (and if so - when), or is compodoc going to ignore this and not preparing a fix?
Reacted by schnador, Guan Xin Wang, Simonenko Fedor, Xavi and HenkWork
@vogloblinsky Can you update this feature request? We also work with a lot of standalone components, and if you use them during import, they'll be listed under modules. That file just isn't there :)
Activity
stale commentedon Jan 8, 2023
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
GreenEleven commentedon Feb 3, 2023
This is a super important feature request since Angular is going to move towards standalone components.
haskelcurry commentedon Feb 8, 2023
Any updates / plans on this? It's absolutely crucial
GabrielF-C commentedon Apr 15, 2023
Angular apps can be built without using modules now, the tool is incomplete without this feature.
Also, I think it would be important to support routing using
provideRouterwithout modules for the same reason.korneliusz-w commentedon Dec 7, 2023
any news when standalone components will be add to compodoc ?
vogloblinsky commentedon Dec 8, 2023
Hi,
I will try to enhance the current graph engine with standalone components using this demo project : https://github.com/nartc/ng-conduit
Ajuriaa commentedon May 9, 2024
Is there any update in standalone based angular app using
provideRouter?robmanganelly commentedon Sep 19, 2024
any update ? thanks
pitchan commentedon Oct 14, 2024
Up ! since we upgraded and changed modules by standalone approach we lost possibility to get diagrams
Thoemmy commentedon Jan 7, 2025
I find it surprising that this feature is not supported yet, given that Compodoc is positioned as an Angular documentation tool.
The standalone feature has been available since Angular v14 and higher, so I believe it would make sense to prioritize this request.
Could you please give us an update regarding this feature?
haskelcurry commentedon Jan 21, 2025
Agree with @Thoemmy, especially since standalone is the default since v19.
comanescuadrian95 commentedon Mar 25, 2025
I've been eagerly awaiting this feature since Angular 19 launched, as the dependency graph is the bread and butter of Compodoc. This is exactly why I chose it over ngDoc or Storybook.
korneliusz-w commentedon Mar 25, 2025
I found this library https://github.com/angular-architects/detective
It prinst graph of dependency like in NX.
Buslowicz commentedon Jun 16, 2025
It's June 2025, almost 3 years after the issue has been reported. Can anybody on the compodoc team give a statement on whether this bug (no, right now it is not a feature) will be fixed (and if so - when), or is compodoc going to ignore this and not preparing a fix?
HenkWork commentedon Nov 6, 2025
@vogloblinsky Can you update this feature request? We also work with a lot of standalone components, and if you use them during import, they'll be listed under modules. That file just isn't there :)
Add clickable navigation for dependency graph nodes