Logo
NeoArc Studio

Nodes and Edges

Configure graph diagram nodes with typed properties, constraints, and per-property projections. Create edges with labels and style nodes with custom colours. Model nodes support search, API, and persistence projections.

Nodes and edges are the building blocks of graph diagrams. Nodes represent entities with optional properties and constraints. Edges connect nodes and can have labels to describe relationships.

Try It: Interactive Example

Explore this diagram to understand nodes and edges. Double-click on the Customer node (blue) to see its typed properties including required fields and unique constraints. Notice the edge labels like "places" and "contains" that describe relationships.

Node Properties

Every node has these core properties:

Typed Properties

Nodes can have typed properties like an ERD:

Constraint Badges

Properties display visual badges for constraints:

Per-Property Projections

In graph-db mode, each property supports projection flags that control how the field appears across derived artefacts. Projections are relevant for both standalone graph diagrams and the project model (model.neoarc).

Edge Structure

Edges connect two nodes with optional labels:

Creating Edges

Editing Edge Labels

Node Styling

Nodes render as circles with configurable colours:

Edge Styling

Edges render as lines with arrows:

Selection and Editing

Node Dragging

Drag nodes to reposition them:

Next Steps