yoshimkd / swift-auto-diagram

A Ruby script that scans all swift code from the specified folders and files and automatically generates an entity diagram (similar to a class diagram) which can be viewed in a browser.
MIT License
496 stars 57 forks source link

adding enums #6

Closed ivanfoong closed 7 years ago

ivanfoong commented 7 years ago

This pull request adds support for enums

yoshimkd commented 7 years ago

Thank you very much for the contribution. Good luck using the diagram maker!

ivanfoong commented 7 years ago

@yoshimkd this is a great project! Thanks for open sourcing this!

I'm extending this to include relationship between entities that is being referenced/used. Planning to use the "usage" relationship to better discover swift codebase. Would that be something swift-auto-diagram should be capable of and I can send PRs back from my fork

yoshimkd commented 7 years ago

@ivanfoong I'm very glad you like it and thank you very much for contributing. A 'usage' relationship would be a great feature to have, I'm just not sure how you're going to recognize that since it requires thorough looking at the code itself.