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.
To generate scripts from your GraphQL project click the Script icon on the main toolbar. New modal opens. Click Save Script and select a location where the file should be stored. Option Overwrite existing files allows you to ignore existing scripts and overwrite them without getting a warning.
Moon modeler offers two possibilities how to display lines between referenced objects. By default, the display mode where parent object is linked to a specific field in child object is active.
Default line mode:
You can easily change that mode to Simple line mode. In this mode, lines are referenced from one object to another, in practice it means that can be anchored to bottom or to top of a graphical representative.… Read the rest