GraphiteEditor / GraphiteEditor/Graphite
Node variadic inputs to represent T as T[]
- 主要言語
- Rust
- スター
- 27.2k
- フォーク
- 1.3k
- 平均マージ
- 20時間 5分
- マージ済み PR(30日)
- 57
説明
A node which takes a Vec should be able to expose itself as a variadic input, which looks like this:
| 100% Zoom | 200% Zoom |
|--------|--------|
|  |  |
*(7x14 rectangle with 2px rounding)*
Multiple wires can enter this. The order of the wires entering the variadic input does matter, and it laid out from top to bottom. The node receives these as a Vec of T and otherwise acts normally.
The node macro can define whether a data type, that's a Vec, is shown as variadic or regular. We should also consider whether we support the Table data type, where multiple wires become multiple table rows.
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
まず、node macro による Vec 入力の処理と、この issue で説明されている可変長入力の node-graph の動作を追跡します。wire の順序と上から下へのレイアウトをどのように表現すべきかを確認し、可変長の Vec 入力が通常どおり機能することを完了条件として定義します。Table のサポートは引き続き未解決の設計上の問題です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- rust
- 領域
- computer-graphics
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 25/100