Derived component diagram with provided and required interfaces

オープン
#367 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
javascript, rust, yaml
領域
backend, design

調査の方向性

Start with the diagram-generation design in #334 and the existing IBD rendering for ports and connections. Trace how PortDef, InterfaceDef, direction, and conjugation are represented, then add tests for the provider-consumer diagram, unmatched socket warning, and unchanged IBD. Done means the tests show a joined lollipop and socket with the interface name, a warning for an unmatched required socket, and no IBD change.

索引モデルが issue の本文から書いたものです。

説明

Part of #363 (item 5).

Current state

Ports carry direction, isConjugated and conjugates (a PortDef and its conjugate), and the IBD draws ports as squares with a direction fill. There is no component-style view with provided and required interfaces.

Proposal

A derived Component diagram (diagramKind: Component, subject a part or package): each part is a component box; a port typed by a PortDef/InterfaceDef that the part provides is drawn as a lollipop, one that it requires (the conjugated side) as a socket; a connection joins a lollipop to a socket and the interface name labels it. Provided/required is derived from conjugation and direction, not stored. Parts are grouped by domain or package (see the diagram-generation design, #334). Operations of the interface (A) can be listed on request.

Acceptance (tests first)

  • A model with a provider and a consumer of one interface shows lollipop and socket joined; an unmatched socket (required, nothing provides) is a warning.
  • The same data in the IBD is unchanged.

Part of #272 (executable MBSE / software design).


Generated by Claude Code

主要言語
Rust
スター
8
フォーク
1
平均マージ
3時間 35分
マージ済み PR(30日)
69

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

sjames/syscribe のほかの issue

sjames/syscribe の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。