Skip to content

Support Multiple Diagram Types and Architectural Views (Beyond C4) #34

@akhundMurad

Description

@akhundMurad

Architecture models are not diagrams.
Diagrams are views over the same underlying model, and different use cases require different notations.

Currently, architecture tooling often limits users to a single diagram style (e.g. C4).
Pacta should allow the same architecture model to be projected into multiple views, without enforcing a single notation.

This issue proposes supporting arbitrary architectural views, such as:

  • component views
  • dependency graphs
  • logical / structural views
  • custom projections derived from the model

Why this matters

  • Different stakeholders need different representations
  • Avoids coupling the architecture model to a specific notation
  • Keeps Pacta flexible and future-proof

Acceptance Criteria

  • Architecture model is independent of diagram notation
  • CLI can output different views (e.g. JSON, DOT, text)
  • New view types can be added without changing the core model
  • C4 is treated as one possible view, not the only one

Out of scope

  • Visual diagram editor
  • Web-based diagram rendering

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions