Skip to content
🤷

Forgive us! These docs are a work in progress. Some pages may be incomplete or describe features that aren't quite finished yet. Farkitect is in early development and we don't recommend using it for real work just yet. Feel free to explore — just be aware that things are still being built.

How to configure display templates

Display templates control how each owned (subordinate) element renders as a line of text inside its parent’s compartment on diagrams.

  1. Select the parent element type (e.g., “Entity”)
  2. In the Properties panel, find the Subordinate Types entry for the owned element type
  3. Set the Display template field

Templates use {placeholders} that are replaced with actual values:

PlaceholderResolves to
{name}The owned element’s name
{PropertyName}A property value by name
{PropertyName? [suffix]:}Conditional — only show the suffix if the property has a value

Literal text (colons, spaces, brackets) is included as-is.

TemplateSample output
{name}customerId
{name} : {Data Type}customerId : Integer
{name} : {Data Type}{Is Primary Key? [PK]:}customerId : Integer [PK]
{name}{Data Type? ({Data Type}):}customerId (Integer) or notes if no type
  • Keep templates concise — compartment space is limited
  • Use conditional placeholders for optional properties to avoid empty brackets or labels
  • The template applies to all instances of the subordinate type — choose a format that works for the typical case