コンテンツにスキップ
C4モデル

C4モデル

(C4 Model)

サンプル

    C4Context
    title C4モデルのサンプル
    Person(user, "ユーザー", "システムを利用する人")
    System(system, "システム", "メインの機能を提供")

    Rel(user, system, "利用する")
  

基本構文

ソフトウェアシステムの階層的な可視化を行います。

主なコンポーネント

  • Person(name, label, description): ユーザー
  • System(name, label, description): システム
  • SystemDb(name, label, description): データベース

リレーションシップ

要素間の関係を定義します。

Rel(source, target, label, protocol)
BiRel(source, target, label, protocol)

境界(Boundary)

Boundary や System_Boundary で関連要素を囲むことができます。

System_Boundary(id, label) {
    System(...)
}