Data structures and meaning
Property-graph schema
Nodes and edges with properties: the schema of a property graph, including which labels and properties exist.
ddn@1New DDN source
Why use it?
Graph stores still need contracts — "schemaless" without a written agreement becomes archaeology.
When it helps
Designing or reviewing a property-graph model (nodes, edge types, properties).
How to read it
- Node labels are types; edge labels are typed relationships.
- Properties attach to the node or edge that owns them.
What you need
- Node labels
- Edge types and their directions
- Property sets per label
Things to check
- Do not model every relationship as a generic "related" edge.
- Do not store on an edge what belongs to the node.
Scope of this diagram
Declared schema only; no graph query execution.
Work with the converted example
- Open the viewer and select
diagram. Inspect the rendered view and its source. - Open the designer. Keep the selected profile and inspect its legal palette and property controls.
- Change one displayed title or an appropriate data value. Apply the edit and check the resulting diagram.
- Run the verifier and review its diagnostics before moving complete content into review.
- Download your edited DDN source to retain the change.
The example uses the indentation-based ddn-next-1 dialect. The language guide explains reusable definitions, dotted data rows and explicit property blocks.