Skip to content

Farkitect is in early access. New features arrive most weeks, and these pages are updated with them. See What's New for the latest.

How to define owned element types

Owned elements (subordinates) are elements that live inside a parent element and render in a compartment on diagrams — like attributes inside an entity.

  1. In your M2 metamodel’s element type layer, create a new element type (e.g., “Attribute”)
  2. In its Properties, open Subordination and tick Is Subordinate. Elements of this type are then created inside an element of another type, not from the Palette, and the heading reads Subordination · subordinate
  3. Add properties to it (e.g., “Data Type” as an enumeration, “Is Required” as Boolean)
  4. Configure basic notation (fill colour, icon)

2. Configure the parent to accept owned elements

Section titled “2. Configure the parent to accept owned elements”
  1. Select the parent element type (e.g., “Entity”)
  2. In the Properties panel, open Subordination. Under Subordinate Types, click + Add Subordinate Type. The button is available once at least one type in the metamodel is marked Is Subordinate
  3. Fill in the entry:
    • ID — a unique identifier (e.g., “attributes”)
    • Label — display name (e.g., “Attributes”)
    • Classifier — the owned element type (e.g., “Attribute”)
    • Display template — how each owned element renders (e.g., {name} : {Data Type})

Each entry under Subordinate Types has a tick box, Show on diagram nodes. Tick it, and the parent’s nodes gain a compartment that lists its owned elements of that type, headed by the entry’s Label. Untick it to take the compartment away again; the owned elements stay in the model.

While it is ticked, Auto-adjust node height makes each node grow to fit its list. It is on when you first tick Show on diagram nodes.

  1. In the Explorer, right-click an M1 element of the parent type
  2. Choose Add Attribute… (the menu names each subordinate type the parent accepts)
  3. Name the new element, then fill in its properties in the Properties panel

The owned element appears inside the parent’s compartment on diagrams.

Template Example output
{name} email
{name} : {Data Type} email : String
{name}{Is Required? [*]:} email* (if required) or email (if not)

Farkitect

Model anything.

“Welcome back — your diagrams have been plotting without you.”


Release 385 · 27 Nov 2026

Top packages: Inclusion and Sharing; Create New Version; Delete from Project

Release
385
Released
27 Nov 2026, 21:29 UTC
Built
27 Nov 2026, 21:30 UTC
Environment
Production
Surface
Docs
Commit
a5968f3
Branch
main