RAMEN Core
    Preparing search index...

    Class ModelEvolution

    Compares full workspace states without mutating them or guessing migration rules.

    Index
    • Compares models, classifiers, attributes, literals, and relations by stable ID.

      Parameters

      • beforeModelId: string
      • beforeModels: readonly Model[]
      • afterModelId: string
      • afterModels: readonly Model[]

      Returns EvolutionReport

    • Reports element changes only; callers choose whether and how to validate the two states.

      Parameters

      • beforeModels: readonly Model[]
      • afterModels: readonly Model[]

      Returns readonly EvolutionChange[]

    • Compares JSON values without treating object key order as a model change.

      Parameters

      • left: unknown
      • right: unknown

      Returns boolean

    • Validates terminal models and isolated cycles so every workspace component contributes diagnostics.

      Parameters

      • models: readonly Model[]
      • validate: (modelId: string) => readonly Diagnostic[]
      • OptionalrootModelId: string

      Returns readonly Diagnostic[]