PaulTaykalo / objc-dependency-visualizer

Objective-C and Swift dependency visualizer. It's tool that helps to visualize current state of your project. It's really easy to see how tight your classes are coupled.
MIT License
1.84k stars 98 forks source link

[question] Draw boundaries of program units #31

Closed dodikk closed 8 years ago

dodikk commented 8 years ago

Is there any way to mark the class circles as belonging to a certain library? It would be nice to have a rectangle around the group of classes from the same unit. Or, at least, mark them with the same colour.

The distinction may be done by either

  1. prefix (NS/AF/etc.) - for cocoapods based repositories
  2. target - for static lib/sub-project based repositories
PaulTaykalo commented 8 years ago

duplicate of #13

dodikk commented 8 years ago

In #27 you've added a possibility to manage visualization targets manually using -t argument. For example, -t "JFFAsyncOperations" I guess, at that point there is some information like *.obj file X belongs to the target Y that can be used as "unit boundaries".

Likewise, the option -e "NS|UI|CA|KW|CF|RAC" might be used not just for filtration. The prefixes might be used to detect libraries since the libraries are expected to have different prefixes (according to Apple's recommendations).

dodikk commented 8 years ago

This idea is slightly different from the one described in #13 However, they do have much in common.