How to Create a Data Model
Step-by-step guide for creating a model.neoarc file with entities, properties, key roles, foreign keys, relationships, and groups.
The data model (model.neoarc) is the single source of truth for all entities, relationships, and properties in a NeoArc Studio project. ERD views, graph views, and search views are derived from this file. This guide walks through creating a model from scratch.
Create the Model
Key Roles Reference
| Role | Abbreviation | Purpose |
|---|---|---|
| Primary Key | PK | Uniquely identifies each record in the entity. |
| Foreign Key | FK | References a primary key in another entity. Requires FK resolution. |
| Natural Key | NK | A business-meaningful identifier (e.g. email address, SKU). |
| Alternate Key | AK | An alternative unique identifier separate from the PK. |
| Indexed | IDX | Marks the property for indexing without key semantics. |
| None | - | Default. No key semantics applied. |