> ## Documentation Index
> Fetch the complete documentation index at: https://docs.graphify.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Edges and provenance

> Read what a relationship claims, where it came from, and how certain it is.

A graph edge connects a source node to a target node. Its `relation` explains the connection, such as `calls`, `imports`, `inherits`, or `references`.

## Confidence labels

| Label       | What it means                                                              | How to use it                                                            |
| ----------- | -------------------------------------------------------------------------- | ------------------------------------------------------------------------ |
| `EXTRACTED` | The relationship is explicit in the analyzed source.                       | Follow the source reference to inspect the evidence.                     |
| `INFERRED`  | Graphify derived the relationship through resolution or semantic analysis. | Read the evidence and any confidence score before treating it as a fact. |
| `AMBIGUOUS` | The evidence does not establish one clear relationship.                    | Keep the uncertainty visible and check the source.                       |

An inferred edge can be derived **without a model**. Static name and import resolution can infer cross-file relationships, while a semantic backend can infer connections between documents and code.

## Direction matters

`A calls B` differs from `B calls A`. The current path command and MCP `shortest_path` tool respect stored direction by default. Use `--undirected` in the CLI or `undirected: true` in MCP to explore connectivity regardless of direction.

```bash theme={null}
graphify path "ApiHandler" "DatabaseClient"
graphify path "ApiHandler" "DatabaseClient" --undirected
```

These are example names. Replace them with nodes from your project.

## A path is evidence, not a runtime guarantee

Source-level calls may be conditional or dynamically resolved. A path shows the relationships in the analyzed graph; it does not prove a request will execute that path or that a change is safe.

Use [formal verification](/platform/verification) for the distinct enterprise workflow that compares supported changed functions. Graph traversal itself is not a formal proof.

<div aria-hidden="true" className="hidden [body:has(&)_.chat-assistant-floating-input::before]:!bg-transparent" />

<div role="navigation" aria-label="Documentation pages" className="not-prose mt-12 grid gap-4 sm:grid-cols-2">
  <a href="/concepts/architecture" rel="prev" aria-label="Previous: How Graphify works" className="group flex min-h-[112px] flex-col justify-center gap-3 rounded-xl border border-[#c7dbd0] !border-b-[#c7dbd0] bg-[#ffffff] px-6 py-5 text-[#062314] no-underline transition-colors hover:border-[#94b6a2] hover:bg-[#edf6f0] focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-4 focus-visible:outline-[#4dea9c] items-start text-left"><span className="flex items-center gap-2 text-[11px] font-medium uppercase tracking-[0.08em] text-[#586b60]"><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="1.8" aria-hidden="true"><path d="M15 5l-7 7 7 7" /></svg>Previous</span><span className="text-[15px] font-semibold leading-6">How Graphify works</span></a>
  <a href="/concepts/outputs" rel="next" aria-label="Next: Graph files and outputs" className="group flex min-h-[112px] flex-col justify-center gap-3 rounded-xl border border-[#c7dbd0] !border-b-[#c7dbd0] bg-[#ffffff] px-6 py-5 text-[#062314] no-underline transition-colors hover:border-[#94b6a2] hover:bg-[#edf6f0] focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-4 focus-visible:outline-[#4dea9c] items-end text-right sm:col-start-2"><span className="flex items-center gap-2 text-[11px] font-medium uppercase tracking-[0.08em] text-[#586b60]">Next<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="1.8" aria-hidden="true"><path d="M9 5l7 7-7 7" /></svg></span><span className="text-[15px] font-semibold leading-6">Graph files and outputs</span></a>
</div>
