Defining custom or complex views
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
Read the related issues #1212 and #1628, then investigate how view rendering handles filter conditions and whether SysML expressions can express the requested interface, its ends, and ancestors up to a common ancestor. The issue does not name implementation files or tests, so first locate the view and filter entry points; done means demonstrating a SysML-only custom view or documenting why a custom Go view type is needed.
由索引模型根据 Issue 内容生成。
描述
This is somewhat related to https://github.com/Open-MBEE/OpenSysML/issues/1212 and https://github.com/Open-MBEE/OpenSysML/issues/1628 , but in context of rendering views.
I tried to make a custom view definition. Its main purpose is given an interface to render that interface together with its ends and all of the ancestors up to a common one.
I tried to do that using filter conditions with no luck yet.
The spec says that
A filter condition is a Boolean valued,
model-level evaluable expression (see [KerML. 7.4.9]) declared using the keyword filter followed by a
Boolean-valued, model-level evaluable expression (see [KerML. 7.4.9]).
Seemingly, that must be enough, but diving deeper, it appears that I couldn't use calc usages or defs, and it looks like complex filters are cubersome at least and impossible at most..
How to make such custom view? In the worst case I could rely on go api and make custom view type, but still am I missing something with sticking only to sysml? It seems that sysml must be flexible enough to make such representations out of the box.
- 主要语言
- Go
- 星标
- 59
- 派生
- 20
- 平均合并
- 10 小时 52 分钟
- 30 天内合并 PR
- 903
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
Open-MBEE/OpenSysML 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 48/100
维护者通常 1 天内回复
-
难度 5/5 一周以上 新手友好度 35/100
维护者通常 1 天内回复
-
难度 5/5 一周以上 新手友好度 35/100
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 55/100
维护者通常 1 天内回复
查看 Open-MBEE/OpenSysML 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 77/100
维护者通常 1 天内回复
-
automated documentation maintenance
难度 1/5 1-3 小时 新手友好度 75/100
github/gh-aw-mcpg#16717 ·
维护者通常 1 天内回复
-
Docs: Recording rules pages don't say what happens to a recorded metric when its rule is deleted未关闭internal
难度 1/5 1-3 小时 新手友好度 84/100
维护者通常 1 天内回复
-
enhancement
难度 2/5 1-3 小时 新手友好度 74/100
jesseduffield/lazygit#6229 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
prometheus/prometheus#20482 ·
维护者通常 2 天内回复