In the middle of the spectrum there are markup languages like Mermaid or PlantUML.whether a box uses rounded corners, object coordinates, or line widths. ![]() The produced plain text files are rather verbose and long, because they include presentation aspects, e.g. It lacks meaning regarding what the lines, boxes and other elements really mean – they are just boxes and lines. Their data format (their internal “model”) starts on the view level right away. yEd which stores Graphml files, or Excalidraw which creates JSON files. WYSIWYG editors exist which store diagrams in plain-text formats (rather than binary files), e.g.The corresponding generator tool will then render the diagrams for you, and compute a best-efforts layout of all its elements. class diagram), references to a set of model elements to be included into the diagram, and further configuration parameters (e.g. The definition of a view includes the type of the diagram (e.g. Model languages like Structurizr DSL let you define both the model and a set of views.Let’s now re-examine the three types of markup languages I introduced above: It often makes sense to create multiple views for a specific model, where each view illustrates different aspects, answering a specific question about the model. A view also incorporates all kinds of graphical details, such as the background color of each box or the canvas, the line widths, the coordinate, margin or padding of each box, the font type and size, etc. ![]() For instance, for a class model, it would decide that each class is represented by a box, and relations are drawn as arrows. At this level the software producing the view decides (or lets the user decide) how the graphical representation of the model looks like, to minute detail. A concrete example would be a class model that models the different (souce-code-level) classes, including their name, description, attributes, and methods.Ī view makes a model tangible, by visually expressing it.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |