---
title: "Design views facet"
url: https://afflom.github.io/prism-devrel/facets/design/
diataxis: explanation
developer-journey: learn
---

# Design views facet

> What this facet holds and the standard it follows. Then how each case study uses it.

**Figure: Design views records by case study.** How many design views records each case study declares, one bar for each.

| | Count |
| --- | --- |
| UORust | 73 |
| Prism-DevRel | 53 |
| Rule 30 | 0 |
| Verdant Resonance | 0 |
| Foundry | 0 |

Design views add drawings to the architecture. OPM (ISO/PAS 19450) views show objects and processes. UML 2.5.1 views show components, sequences and state machines. The SDK checks every element against the system model (PP2012). It renders OPM views as `.opl` and UML views as `.puml` in the build. The drawings here come from the same records. See [PrismPM SPEC section 2.1](https://github.com/UOR-Foundation/prismpm/blob/15f630aa6deec5d6490ac22e222381fa28d6f17d/SPEC.md#21-design-views).

- Processes and states are owned by a component.
- A message or invocation across components needs an edge in that direction.
- A state machine has exactly one initial state.

The facet follows [OPM (ISO/PAS 19450) and UML 2.5.1](https://github.com/UOR-Foundation/prismpm/blob/15f630aa6deec5d6490ac22e222381fa28d6f17d/SPEC.md#21-design-views). [The facets of a Prism app](https://afflom.github.io/prism-devrel/facets/) lists every facet beside this one.

## How the case studies declare it

For each case study, its records of this facet by kind. The first record of each kind links to where the case study teaches it.

### UORust

UORust declares 73 records of 13 kinds. [Design views in OPM and UML](https://afflom.github.io/prism-devrel/case-studies/uorust/design/) teaches them.

| Kind | Records | First record |
| --- | --- | --- |
| DesignView | 4 | [`Design::viewOpmPipeline`](https://afflom.github.io/prism-devrel/case-studies/uorust/design/#Design-viewOpmPipeline) |
| OpmLink | 8 | [`Design::linkAdmissionChanged`](https://afflom.github.io/prism-devrel/case-studies/uorust/design/#Design-linkAdmissionChanged) |
| OpmState | 3 | [`Design::opmStateAdmitted`](https://afflom.github.io/prism-devrel/case-studies/uorust/design/#Design-opmStateAdmitted) |
| OpmThing | 10 | [`Design::thingAdmission`](https://afflom.github.io/prism-devrel/case-studies/uorust/design/#Design-thingAdmission) |
| OpmZoom | 4 | [`Design::zoomRun0`](https://afflom.github.io/prism-devrel/case-studies/uorust/design/#Design-zoomRun0) |
| SystemProcess | 9 | [`Design::processAdmit`](https://afflom.github.io/prism-devrel/case-studies/uorust/design/#Design-processAdmit) |
| SystemState | 5 | [`Design::stateFactAdmitted`](https://afflom.github.io/prism-devrel/case-studies/uorust/design/#Design-stateFactAdmitted) |
| UmlComponent | 5 | [`Design::umlComponentAdmission`](https://afflom.github.io/prism-devrel/case-studies/uorust/design/#Design-umlComponentAdmission) |
| UmlConnector | 5 | [`Design::connectorAdmissionEmitter`](https://afflom.github.io/prism-devrel/case-studies/uorust/design/#Design-connectorAdmissionEmitter) |
| UmlLifeline | 5 | [`Design::lifelineAdmission`](https://afflom.github.io/prism-devrel/case-studies/uorust/design/#Design-lifelineAdmission) |
| UmlMessage | 6 | [`Design::message0`](https://afflom.github.io/prism-devrel/case-studies/uorust/design/#Design-message0) |
| UmlState | 5 | [`Design::umlStateFactAdmitted`](https://afflom.github.io/prism-devrel/case-studies/uorust/design/#Design-umlStateFactAdmitted) |
| UmlTransition | 4 | [`Design::transition0`](https://afflom.github.io/prism-devrel/case-studies/uorust/design/#Design-transition0) |

### Prism-DevRel

Prism-DevRel declares 53 records of 13 kinds. [Design views in OPM and UML](https://afflom.github.io/prism-devrel/case-studies/prism-devrel/design/) teaches them.

| Kind | Records | First record |
| --- | --- | --- |
| DesignView | 4 | [`Design::viewOpmGenerate`](https://afflom.github.io/prism-devrel/case-studies/prism-devrel/design/#Design-viewOpmGenerate) |
| OpmLink | 5 | [`Design::opmAssignInvokesRender`](https://afflom.github.io/prism-devrel/case-studies/prism-devrel/design/#Design-opmAssignInvokesRender) |
| OpmState | 2 | [`Design::opmSiteCurrent`](https://afflom.github.io/prism-devrel/case-studies/prism-devrel/design/#Design-opmSiteCurrent) |
| OpmThing | 7 | [`Design::opmAssign`](https://afflom.github.io/prism-devrel/case-studies/prism-devrel/design/#Design-opmAssign) |
| OpmZoom | 3 | [`Design::opmZoomAssign`](https://afflom.github.io/prism-devrel/case-studies/prism-devrel/design/#Design-opmZoomAssign) |
| SystemProcess | 7 | [`Design::processAnswerLookup`](https://afflom.github.io/prism-devrel/case-studies/prism-devrel/design/#Design-processAnswerLookup) |
| SystemState | 4 | [`Design::stateCatalogCurrent`](https://afflom.github.io/prism-devrel/case-studies/prism-devrel/design/#Design-stateCatalogCurrent) |
| UmlComponent | 6 | [`Design::umlBrowser`](https://afflom.github.io/prism-devrel/case-studies/prism-devrel/design/#Design-umlBrowser) |
| UmlConnector | 7 | [`Design::umlBrowserToGuest`](https://afflom.github.io/prism-devrel/case-studies/prism-devrel/design/#Design-umlBrowserToGuest) |
| UmlLifeline | 2 | [`Design::seqBrowser`](https://afflom.github.io/prism-devrel/case-studies/prism-devrel/design/#Design-seqBrowser) |
| UmlMessage | 2 | [`Design::seqReply`](https://afflom.github.io/prism-devrel/case-studies/prism-devrel/design/#Design-seqReply) |
| UmlState | 2 | [`Design::stAnswering`](https://afflom.github.io/prism-devrel/case-studies/prism-devrel/design/#Design-stAnswering) |
| UmlTransition | 2 | [`Design::trAnswer`](https://afflom.github.io/prism-devrel/case-studies/prism-devrel/design/#Design-trAnswer) |

### Rule 30

Rule 30 declares no record of this facet.

### Verdant Resonance

Verdant Resonance declares no record of this facet.

### Foundry

Foundry declares no record of this facet.

