Type System

Graphical Representation

We can use colors to represent the three fundamental types of the type system:

Type Color Tag Token
Component --chartreuse Component
<span class="tag rg-component">Component</span>
Component
<span class="token rg-component">Component</span>
Entity Type --selective-yellow Entity Type
<span class="tag rg-entity-type">Entity Type</span>
Entity Type
<span class="token rg-entity-type">Entity Type</span>
Relation Type --malachite Relation Type
<span class="tag rg-relation-type">Relation Type</span>
Relation Type
<span class="token rg-relation-type">Relation Type</span>

For example, to represent that a User (which is an entity type) belongs to (which is a relation type) an organization (which is also an entity type), we would use the colors like so:

User---belongs to-->Organization