Property Data Types

Intermediate

Property Data Types

When you add a property to a Node Type or Relationship Type, you pick a Type that decides what kind of value its instances can hold and how the value is edited.

Select a type in the Model Navigator, open the Property Definitions section in the Properties panel, and click + Add. Each property row has a Name, a Type dropdown, a Req (required) checkbox, an f(x) (formula) checkbox, and a Default.

The nine data types

TypeHoldsEdited asUse it for
StringA single line of textText fieldNames, codes, short labels
NumberA numeric valueNumber fieldCounts, prices, durations
BooleanTrue or falseCheckboxFlags like "active", "critical"
DateA calendar dateDate pickerDeadlines, start dates
OptionOne choice from a fixed listDropdownStatus, priority, category
AssetA reference to a file in your modelAsset pickerAttached diagrams, documents, datasets
JSONStructured JSON dataValidated text fieldRaw configuration, payloads
Rich TextFormatted (Markdown) textMulti-line editorLong notes rendered with headings and lists
DictionaryA set of key-value pairsKey-value editorLabels, tags, free-form attributes

Setting choices for an Option property

When you choose Option, enter the allowed choices in the Default field as a comma-separated list, for example:

Low,Medium,High

Instances of the type then show a dropdown limited to those choices.

Default values

For most types, whatever you type in the Default field is pre-filled on every new instance. You can override it on any individual node or relationship.

Required properties

Tick the Req checkbox to mark a property as required. This signals to your team (and the AI assistant) that the value should always be filled in.

Computed properties (f(x))

Tick the f(x) checkbox to make a property computed. Instead of a fixed value, the Default field becomes a formula that calculates the value automatically — used by the simulation layer to derive values each timestep. A computed property is shown read-only in tables. (See the Rhai scripting help for how to write formulas.)

Good to know

  • Property types apply equally to Node Types and Relationship Types.
  • A property defined on a type appears on all instances of that type.
  • Renaming a property on the type updates it everywhere — the underlying value is kept.