Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Show only dependency cycles #985

Open
crystalfp opened this issue Feb 24, 2025 · 0 comments
Open

Feature request: Show only dependency cycles #985

crystalfp opened this issue Feb 24, 2025 · 0 comments

Comments

@crystalfp
Copy link

Context

I need to focus on the cyclic dependencies in a quite complex application. Currently the output of depcruise -T err src show them in textual form, but I think that having them in graphical format is better to find patterns.

Before I was using madge that has options to show graphically only cyclic dependencies (and also orphan modules). Is it possible to have something similar also in depcruise?

Currently I use the following command to have a beautiful chart of dependencies for my application:

depcruise -v -T dot src | dot -T svg | depcruise-wrap-stream-in-html > dependency-graph.html

The application is written in TypeScript + Vue on Windows.

Expected Behavior

Here is an example of cycle chart generated using madge:

Image

I want something similar.

Current Behavior

Maybe the functionality is already there but I was not able to find it.

Possible Solution

Considered alternatives

Currently the only alternative is using depcruise -T err but it is text only or madge --extensions ts,vue --ts-config tsconfig.json -i out.png -c --warning file.vue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant