Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/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.
https://github.com/yoshimkd/swift-auto-diagram
class-diagram diagram entity-diagram generator ruby ruby-script script swift swift-files
Last synced: about 2 months ago
JSON representation
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.
- Host: GitHub
- URL: https://github.com/yoshimkd/swift-auto-diagram
- Owner: yoshimkd
- License: mit
- Created: 2016-10-11T16:21:48.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2021-05-08T15:01:24.000Z (over 3 years ago)
- Last Synced: 2024-08-10T14:07:54.959Z (5 months ago)
- Topics: class-diagram, diagram, entity-diagram, generator, ruby, ruby-script, script, swift, swift-files
- Language: JavaScript
- Size: 450 KB
- Stars: 493
- Watchers: 29
- Forks: 57
- Open Issues: 17
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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.# Usage:
In terminal run:
```ruby
$ ruby generateEntityDiagram.rb
```
If you don't specify any command line arguments then the script will search for all swift files in the script's main directory.
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.# Tutorial:
https://martinmitrevski.com/2016/10/12/swift-class-diagrams-and-more/# Notice:
The state of the project is still in a beta version which means it still may not run or may be not accurate for all projects.
We hope to see more contributors help make this a wonderful developer tool even better.# Initial creators:
https://github.com/yoshimkdhttps://github.com/ZdravkoN
# Contributors:
https://github.com/ivanfoonghttps://github.com/andreinagy