Edgeinterfaceno test imports itinterface EdgeAn edge of the trace graph.
| Member | Type | What it is |
|---|---|---|
from | ElementId | |
to | ElementId | |
kind | EdgeKind |
The elements of a domain and the graph they make (commons data 0003-governance FR-005, FR-006): every element with its identity, kind, name, definition, parent and annotations, in a fixed order, and the graph of what holds what and what refers to what. The logical and the physical layers link their own elements to these identities.
Edgeinterfaceno test imports itinterface EdgeAn edge of the trace graph.
| Member | Type | What it is |
|---|---|---|
from | ElementId | |
to | ElementId | |
kind | EdgeKind |
EdgeKindtypeno test imports ittype EdgeKind = "contains" | "identifies" | "references";What an edge of the trace graph says.
Elementinterfaceno test imports itinterface ElementAn element of a domain.
| Member | Type | What it is |
|---|---|---|
id | ElementId | |
kind | ElementKind | |
name | string | |
definition | string | |
parent? | ElementId | What holds it; none for the domain. |
annotations | readonly Annotation[] |
elementsOffunctionfunction elementsOf(d: Domain): readonly Element[]Every element of a domain, in a fixed order: the domain, then each concept with its attributes and its relationships, then each code list with its codes.
| Parameter | What it is |
|---|---|
d | the domain |
Returns: the elements
TraceGraphinterfaceno test imports itinterface TraceGraphThe elements of a domain and how they are joined.
| Member | Type | What it is |
|---|---|---|
nodes | readonly Element[] | |
edges | readonly Edge[] |
traceGraphfunctionfunction traceGraph(d: Domain): TraceGraphThe trace graph of a domain: its elements as nodes, and as edges contains (from an element to what it holds), identifies (from a concept to its identifying attributes) and references (from a relationship to the concept it points to, and from an attribute of a code list to the list).
| Parameter | What it is |
|---|---|
d | the domain |
Returns: the graph