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

Flag to only take into account your projects classes, not Apple or third party libraries. #22

Open
carlosandresSanchez opened this issue Feb 10, 2019 · 2 comments

Comments

@carlosandresSanchez
Copy link

The script generates a complex diagram with thousands of classes because I'm using several libraries like RxSwift. Is there a way to only display the classes of your own project?

@yoshimkd
Copy link
Owner

Hello @carlosandresSanchez,

Thank you very much for your interest in the project.
Yes, there is a way to specify which exact files or folders you want to create a diagram for. I quote this from the Readme file:

You can specify any number of command line arguments which should be existing directory or file paths. The directories will be searched in depth for swift files recursively.

Let us know whether this solves your issue with too many displayed entities.

@lewis-smith
Copy link

If I run ruby generateEntityDiagram.rb ~/code/myproject/ it still includes native classes, for example String. Is this intended? It would be great to exclude them.

Thanks for such a cool project!

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

3 participants