The Chrome extension allows you to render relationships class diagram based on ember-data models.
It's powered by mermaid.
This is in POC status now.
It is not published in the Chrome Web Store yet.
You can load unpacked extension to Chrome in developer mode.
npm install
npm run build
Open devtools and go to tab Ember Models Diagram
You can scale the page using special range input.
It's available to define specific model. In this case only related models will be rendered on a diagram.
You can save svg-based diagram as html file.
- It reads all Ember Data models registered in your Ember application at the time the dev tab was opened. It means that it processes any models that come via common way with any structure, from addons or via dynamic registration.
- It represents
@hasMany
,@belongsTo
andextends
relationships between models. - You can place all models on the diagram, or you can choose some model to visualize everything related to.
- Add polymorphic indicator
- Merge origin + inverse relationships to single one
- Visualize async/sync relationships and other stuff
- Add export support of mermaid diagram source text
- UI/UX updates
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.