---
title: "wordgraph-lib — Mova code model"
description: "Mova code model of wordgraph/src/lib.rs: components with their labels, obernants and the model text."
url: "https://groupants.elamur.ai/free/en/mova/wordgraph/src/lib.rs.groupant/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Research](https://md.research.elamur.ai/free/en/) · **Groupants**

This page as HTML: <https://groupants.elamur.ai/free/en/mova/wordgraph/src/lib.rs.groupant/>

# wordgraph-lib

The groupant beside wordgraph/src/lib.rs in the Mova repository: what the code computes, what it never does, how to go back from its outputs, its invariants, cost and checks.

## Facts

- **kind:** groupant
- **status:** partial source bound model
- **source:** [`wordgraph/src/lib.rs`](https://github.com/ElamurAI/mova-free/blob/main/wordgraph/src/lib.rs)
- **repository folder:** [`wordgraph/src/lib.rs.groupant`](https://github.com/ElamurAI/mova-free/tree/main/wordgraph/src/lib.rs.groupant)

> **Implementation material.** A Mova code model describes this code at one source revision: partial models, finite checks and their stated scope. It is not a reviewed general exposition, and its labels are shown as written, never raised.

## Components

| component | label | where |
|---|---|---|
| **Approximant** | partial | [Approximant](#approximant) |
| **Ast** | partial | `syntax.json` |
| **Composition** | partial | [Composition](#composition) |
| **Cost** | partial | [Cost](#cost) |
| **Descriptant** | present | [Descriptant](#descriptant) |
| **Invariant** | partial | [Invariant](#invariant) |
| **Tests** | executed bounded checks | [Tests](#tests) |

## Obernants

The typed relations around the forward model: the behaviour complement (what the code never does), the reverse reconstruction (every input compatible with an output) and specialised views.

| relation | type | label | where |
|---|---|---|---|
| Behavior complement | behavior complement | partial source derived model | [Behavior complement](#behavior-complement) |
| Reverse reconstruction | reverse reconstruction | partial source derived model | [Reverse reconstruction](#reverse-reconstruction) |

## Model text


### Descriptant

The crate root: declares the modules `compile`, `eval`, `extract`, `graph`, `pass`, `rel` and re-exports the reader
types (`Graph`, `Dir`, `Edge`, `Hint`, `Via`) that other crates (later the Owls' process) use.

### Approximant

Identity on behaviour: module declarations and re-exports only.

### Invariant

The public reader API is reachable as `wordgraph::Graph`; no code runs at load.

### Cost

None at run time.

### Composition

Parent of the crate's modules; the crate composition is described in `models/word-graph.groupant/model.md`.

### Tests

Covered by every crate test compiling through it.

### Behavior complement

Holds no logic, no state, no I/O.

### Reverse reconstruction

Not applicable beyond the module list: the declarations are the source itself.

## Provenance

- **source SHA-256:** `30a5d96baf3b1b89…`
- **repository commit:** `c24d02b4c83b`
