Skip to content
Beskid Platform specification

Beskid

Jump to a Beskid service

Beskid

Jump to a Beskid service

Design model

Spec standingStandard

Owner
Piotr Mikstacki
Submitter
Piotr Mikstacki

Domain graphs (ProjectGraph, ModuleGraph, RegistrationDag) remain in beskid_analysis for correctness. Presentation flows through a domain-agnostic intermediate representation:

FieldMeaning
kindGraphKind discriminator
nodesStable id, label, shape, style class, optional URI metadata
edgesDirected links with optional labels
subgraphsWorkspace members, module paths, DI scopes
warningsCycles, unresolved deps, empty host
FieldMeaning
specPopulated GraphSpec
mermaidRendered flowchart string from mermaid-builder
revisionFingerprint for client cache invalidation

beskid_queries::graph_mermaid is the single cache host. Invalidation keys:

KindInputs
projectDeps / workspaceProjectSession, ManifestGenerationId
moduleTree / importClosureFileText, unit_imports, assembly fingerprint
hostCompositionEntry text, syntax generation, composition snapshot
  • Mermaid flowchart is the only supported output format.
  • CLI renders via graphs-tui; VS Code renders via bundled mermaid.min.js.
  • Internal daggy graphs are never serialized directly to tooling.