Skip to content

Latest commit

 

History

History
60 lines (33 loc) · 1.85 KB

elements.md

File metadata and controls

60 lines (33 loc) · 1.85 KB

Elements

We aim to make diagram elements intuitive as much as possible, so most of them should be understood from the first look.
Nevertheless, we created this page to give you a full overview of all elements you can find in diagrams.

Files

The files are the core of each diagram. They are displayed as blocks of different colors depending on their status.

A new file is displayed as a green block:

added file


A changed file is displayed as an orange block:

changed file


A removed file is displayed as a red block:

removed file


The file with tied files.

A tied file is a file which is highly bound with the original file and won't exist without it. The examples are the unit tests for particular class, styles of particular component in separate file.

Such files are displayed with tags in the bottom-left corner:

file with tags

The colors of the file and the tags might be different e.g. file is changed, but tests are added.

Relations

The relations between files are represented as the arrows of appropriate color.

A relation between files is either an import (e.g. JS) or the entity, declared in one file, being used in another file (e.g. class declared in one file is used in another file).

New relation between files:
new relation

Removed relation between files:
removed relation

Existing relation between files:
existing relation

Folders

A folder corresponds to a file-system folder:
folder