empty-view
A Saved View resolves to no nodes.
Severity: warning · Since: v1.0.0
What check reports
Section titled “What check reports”For the failing example below, archidocs check prints:
shop/services.yaml:15:5 warning empty-view Saved View "shop:front" resolves to no nodesA Saved View that selects nothing draws an empty diagram, which answers no question. It usually means the selectors no longer match the Model.
Failing example
Section titled “Failing example”shop/services.yaml:
services: web: name: Web relationships: - to: cart cart: name: Cart components: cart-api: name: Cart API search: name: Searchviews: structural: front: title: Front level: c2 include: [{ tag: storefront }]Correct the selectors so they name Elements, or remove the View.
shop/services.yaml:
services: web: name: Web tags: [storefront]views: structural: front: title: Front level: c2 include: [{ tag: storefront }]Related rules
Section titled “Related rules”unresolved-path: A Saved View’s path selector, or path Lens, finds no path between its two Elements.oversized-view: A View has more than 150 nodes, too many for a readable diagram. A Generated View is reported at its System or Service, or atworkspace.yamlfor the Landscapes; a Saved View at its id.
Documents the beta branch at cd98671, ahead of the latest release, v1.4.0.