Several tools can be used to visualize existing GraphQL schemas. Some of them allow you to browse the structure in the form of a hierarchical tree. Moon Modeler, on the other hand, offers the ability to visually model new GraphQL schemas and also automatically create diagrams from existing sources.
GraphQL data modeling
Before we show how to make a diagram of your GraphQL schema, let’s take a look at how to easily create a brand new GraphQL schema diagram.… Read the rest
Moon Modeler is a data modeling tool and one of its most used features is the modeling and visualization of existing GraphQL schemas. In this section we will look at the ability to import a GraphQL schema from a file.
Settings for MongoDB ER diagram graphics can be defined on two levels in Moon Modeler. On a project level and on a selected object level.
Click the MongoDB ER diagram area to make sure no object is selected. Then change the colors in section Graphics. Alternatively, edit Project properties and specify settings on tab Graphics of the modal form.… Read the rest
Data modeling is the process of visually creating a graphical representation of a system or database. In the case of relational databases, we can mention the creation of entity-relational diagrams in which entities, attributes and relationships between entities are displayed. (Read more information about ER diagrams).
Advantages of data modeling
Fewer design and development errors
Easy and fast design, especially in the early stages of development
Better communication between team members
Lower development costs
and many others
MongoDB schema design and noSQL database modeling
But what is the advantage of data modeling when we talk about noSQL databases?… Read the rest
When it comes to forward engineering in Moon Modeler, it’s about generating the resulting script for the selected target platform.
In the case of relational databases such as PostgreSQL, MariaDB, MySQL or SQLite, it is the resulting SQL script. For MongoDB it is possible to generate a schema validation script and for platforms like Mongoose or GraphQL it is schema definition scripts.… Read the rest
Looking for a free ER diagram tool? There are many on the market and Moon Modeler is one of them. This free ER diagram tool can be used to visually define smaller database structures for relational database systems such as MariaDB, MySQL, PostgreSQL, SQLite, and NoSQL databases such as MongoDB, or object-document mappers such as Mongoose.… Read the rest
To generate a script from your project click the Script icon on the main toolbar. The preview of the script appears in a modal form. Click Save Scripts and select a location where the files should be stored. Option Overwrite existing files allows you to ignore existing scripts and overwrite them without getting a warning.… Read the rest