How to Draw UML Diagram for NoSql Like MongoDB?

12,529

Solution 1

Here is an interesting way to do it: https://dataedo.com/tutorials/how-to-create-er-diagram-for-mongodb

enter image description here

Using DrawIO to represent this is easy How it Helps

Solution 2

I found a similar answer online, perhaps this will help:

NoSQL databases approach modelling from a different point of view generally. NoSQL modelling usually begins with asking questions on how the data in the database is going to be queried, so the main modelling is 'what are the list of questions that I want to ask of my database', whereas with SQL databases, modelling usually is a function of what data you have, that is, what answers I have already.

Once you have a list of questions, you then need to design a model that will answer those questions via the NoSQL database. To model it, I typically use Creately which is an online tool for visually representing models of various kinds.

Another method could be to represent your NoSQL model in JSON format and then use the wonderful D3.js javascript library to create a data-driven document. See this website for more details and the templates available to visually represent your model.

Hope it helps.

Share:
12,529
nilay joshi
Author by

nilay joshi

Updated on June 04, 2022

Comments

  • nilay joshi
    nilay joshi almost 2 years

    I would like to know that can i draw UML diagrams for my web application which has back end Mongodb?

    Or is there any other diagrams for NoSql?