Defining custom or complex views

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

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

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

評価

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

調査の方向性

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分
マージ済み PR(30日)
903

環境構築

はじめの一歩

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

Open-MBEE/OpenSysML のほかの issue

Open-MBEE/OpenSysML の issue をすべて見る

似ている issue

Go の issue をもっと見る

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

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