Data Modelling with the Project Model
Define entities, properties, relationships, and key roles in the central data model (model.neoarc). Create ERD views and graph views to visualise the model for different audiences and database platforms.
Data modelling in NeoArc Studio centres on the project model (model.neoarc), a single file that defines all entities, properties, relationships, and constraints. The model uses the GraphDocument format with isProjectModel: true and authoringMode: "graph-db". All structural editing happens in the model editor; views are read-only representations that derive their data from this single source of truth.
The Central Model
The model file lives at the project workspace root, configured in project.neoarc via modelConfig.modelFilePath (defaults to model.neoarc). It stores entities as graph nodes and relationships as graph edges.
Entity Properties
Each entity node contains an array of properties. Properties use abstract types that are database-agnostic; concrete types are resolved at view time via database profiles.
Key Roles
Key roles express the identity semantics of a property. They are intrinsic to the field, not inferred from relationships.
Abstract Types
The model uses 12 abstract types. These map to concrete database types via database profiles and to search index types via search profiles.
Creating Views from the Model
The model supports three types of read-only views. Each view references the model via modelFilePath and selects which entities to include via includedEntityIds.
Conceptual, Logical, and Physical Distinction
The conceptual/logical/physical distinction is achieved through view configuration and database profile selection, not separate model files.
Validation
The model editor validates entities against 18 rules grouped into three categories.