Home

Graph Evidence

This is an evidence type used in Stencila for graph edges.

It records why an edge exists, how confident the assertion is, and optional provenance details about the observation, assertion, or imported metadata.

The evidence metadata fields have distinct roles:

  • codeLocation is the exact location in source text where the evidence was found, such as a line and column in a code file, manifest, or document.

  • source is the evidence carrier or authority when it is not sufficiently described by codeLocation.source, such as an imported graph, attestation, external service, execution record, or user assertion.

  • details is for machine-readable detector-specific context that is not represented by core fields, such as parser rules, path expressions, dependency groups, package identifiers, or confidence inputs.

  • description is an optional human-readable fallback for display when a useful explanation cannot be derived from the structured fields.

Properties

The GraphEvidence type has these properties:

NameDescriptionTypeInherited from
kindThe kind of evidence.GraphEvidenceKind-
confidenceThe confidence in the evidence.GraphEvidenceConfidence-
codeLocationThe exact location in source text where the evidence was found.CodeLocation-
sourceThe evidence carrier or authority, when not sufficiently represented by the code location.ThingVariant | String-
recordedAtWhen this evidence was recorded.Timestamp-
detailsAdditional machine-readable details about the evidence.Object-
descriptionOptional human-readable explanation of the evidence.String-
idThe identifier for this item.StringEntity

Related

The GraphEvidence type is related to these types:

Bindings

The GraphEvidence type is represented in:


This documentation was generated from GraphEvidence.yaml by docs_types.rs.

© 2026 Stencila