GraphiteEditor / GraphiteEditor/Graphite

Row filtering in all nodes that operate on tables

オープン
#2,982 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
Graphene
主要言語
Rust
スター
27.2k
フォーク
1.3k
平均マージ
20時間 5分
マージ済み PR(30日)
57

説明

Nodes currently operate on entire tables, usually mapping (or sometimes reducing) all rows (or in a few cases, using only the first row and ignoring the rest). The next step is allowing nodes to encode which specific rows to filter, creating a view into a part of a table (or a view into the full table). One row, a range of rows, every n rows from a start to an end index, or really any pattern like a prime number sequence could be used to filter rows. This can be achieved using a field which returns true or false with the filter result for each row. It can filter based on row index/id or any other attribute (column) data.

The tooling will need to be updated to visualize and allow manipulation of ranges of elements. Tools were previously designed to operate on a single element but now we use multiple elements as the standard data type in the graph so the tools need to support the new behavior. The Select tool should be updated to visualize a bounding box around all elements in the selected layer's current table data, but then double-clicking one element lets you enter a selection of just that element (and Shift clicking others can extend that selection), then that sub-selection can be used as a filter for a new Transform node that gets created upon transforming the sub-selection within the layer. A similar idea applies to the Path tool, which becomes #1822.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

まず、issue に記載されているテーブル処理ノード、Select ツール、Transform ノードを見つけます。Path ツールは #1822 で別途追跡されています。完了の定義は、ノードが行ごとの true/false 結果を使って行をフィルタリングでき、選択ツールが複数の要素を可視化および操作し、フィルタリングされた Transform 操作を作成できることです。

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

評価

技術スタック
rust
領域
computer-graphics, design
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

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

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