Skip to content
Sebi1006 edited this page Jun 25, 2021 · 16 revisions

The Diagram DSL is the link between the textual DSLs and the graphical editor (meta model). It includes nodes in separated palettes to configure the graphical editor.

Note: You can define multiple diagrams to support several diagram types within the graphical editors.

A diagram is described with:

diagram <identifier> { palette <identifier> {<nodeNames>} }

Example with all attributes:

diagram myDiagram {
  palette anchors {
    teamAnchorNode
    periodAnchorNode
  }
  palette entities {
    entityNode
  }
}