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
So, when I run society from . on my Rails app I get this graph:
That is of course not ideal. 😁 Of course this is one of those monolith apps where everything depends on everything. What I'm interested in seeing if there are clusters of classes that depend on each other a lot (i.e. A depends on B, B depends on C, A depends also on C, etc.) but don't depend a lot on classes from other clusters. The hope is that this could help visualise what changes to do to really separate one cluster of classes from the rest of the system. One idea for this would be to visualise it like this:
In that examples the classes A, B, C, and D depend a lot on each other. And classes X, Y, and Z do as well. But both clusters don't depend that much on each other.
I can already see two issues with this:
It will still be somewhat useless with the number of classes from my original example
The usefulness of the clustering may depend a lot on the actual graph of dependencies so it may be necessary to tune the parameters for each use case
So I'm basically looking for an interactive version of graphviz neato for my Ruby class dependencies, I guess. If this is the best way to represent this data I have no idea.
The text was updated successfully, but these errors were encountered:
So, when I run
society from .
on my Rails app I get this graph:That is of course not ideal. 😁 Of course this is one of those monolith apps where everything depends on everything. What I'm interested in seeing if there are clusters of classes that depend on each other a lot (i.e. A depends on B, B depends on C, A depends also on C, etc.) but don't depend a lot on classes from other clusters. The hope is that this could help visualise what changes to do to really separate one cluster of classes from the rest of the system. One idea for this would be to visualise it like this:
In that examples the classes A, B, C, and D depend a lot on each other. And classes X, Y, and Z do as well. But both clusters don't depend that much on each other.
I can already see two issues with this:
So I'm basically looking for an interactive version of graphviz neato for my Ruby class dependencies, I guess. If this is the best way to represent this data I have no idea.
The text was updated successfully, but these errors were encountered: