GraphiteEditor / GraphiteEditor/Graphite

Row filtering in all nodes that operate on tables

Abierto
#2,982 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Graphene
Lenguaje dominante
Rust
Estrellas
27.2k
Forks
1.3k
Merge medio
20 h 5 min
PR fusionados (30 d)
57

Descripción

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.

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Línea de trabajo

Comienza localizando los nodos de procesamiento de tablas, la herramienta Select y el nodo Transform descritos en la issue; la herramienta Path se sigue por separado como #1822. Se considera terminado cuando los nodos pueden filtrar filas usando un resultado true/false por fila, mientras que las herramientas de selección pueden visualizar y manipular varios elementos y crear una operación Transform filtrada.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
rust
Área
computer-graphics, design
Tipo de issue
Nueva funcionalidad
Dificultad
5/5
Tiempo estimado
Más de una semana
Estado de actividad
Estancado
Claridad
Necesita aclaración
Aptitud para principiantes
25/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.