Derived component diagram with provided and required interfaces
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 35/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- javascript, rust, yaml
调研方向
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 分钟
- 30 天内合并 PR
- 69
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
sjames/syscribe 的其他 Issue
-
enhancement
难度 4/5 3-5 天 新手友好度 45/100
维护者通常 1 天内回复
-
难度 5/5 一周以上 新手友好度 35/100
维护者通常 1 天内回复
-
难度 5/5 一周以上 新手友好度 25/100
维护者通常 1 天内回复
-
Format-preserving writes for structural frontmatter (features, connections, layout, shapes, edges)未关闭
难度 5/5 一周以上 新手友好度 25/100
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 48/100
维护者通常 1 天内回复
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 75/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
antiguru/interrexx#213 · 2 条评论 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
bug CLI
难度 2/5 1-3 小时 新手友好度 77/100
HigherOrderCO/Bend#2120 ·
-
难度 2/5 1-3 小时 新手友好度 66/100
KNXBench-Labs/KNXBench#47 ·