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

Pagination and groupping + mermaid diagram #73

Open
samchon opened this issue Sep 12, 2023 · 1 comment
Open

Pagination and groupping + mermaid diagram #73

samchon opened this issue Sep 12, 2023 · 1 comment

Comments

@samchon
Copy link

samchon commented Sep 12, 2023

In my case, when generate docs and open index.html, browser being shutted down due to too long contents.

I hope to separate each models to each page. Also, traveling third party libraries of prisma about ERD generation, none of them could express my database relationships cleary due to too many tables. Therefore, I hope to suggest you to providing groupping feature, and drawing mermaid diagram per each group page.

  • pages per models
  • support groupping
  • mermaid diagrams per each group

If you agree, then I can help you about the last feature, "mermaid diagrams per each group".

/// @group articles
model bbs_articles {
}

/// @group sales
model shopping_sales {
}

/// @group orders
model shopping_orders {
}
@samchon samchon changed the title Pagination and groupping Pagination and groupping + mermaid diagram Sep 12, 2023
@samchon
Copy link
Author

samchon commented Sep 14, 2023

image

https://github.com/samchon/prisma-markdown/blob/master/ERD.md

I tried to accomplish it in markdown level, and succeeded to implement it.

However, I don't have enough insights about website rendering. So, hope prisma-docs-generator to support same thing.

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

1 participant