---
title: 'CHR0078: A graph view must be anchored at a node'
editUrl: https://github.com/Cratis/Chronicle/edit/main/Documentation/code-analysis/CHR0078.mdx
description: CHR0078 reports a graph view whose ViewOf root type is not marked as a node, and shows how to anchor the view at a node type instead.
lastUpdated: 2026-11-14T00:00:00.000Z
---


## Rule description

A view reads a property graph from one node label. The rule reports a type marked with `ViewOf<TNode>` whose `TNode` is not marked with `[Node]`.

## Severity

Error

## How to fix

Give `ViewOf<TNode>` the node type the view reads from. If the type you named holds the data you need, mark it with `[Node]` and project it onto the graph, or read it with a document read model instead of a view.

## Related topics

- [Graph projections](/chronicle/projections/graph-projections/)
