GraphiteEditor / GraphiteEditor/Graphite
Exposing a value to the graph should add and connect up an equivalent value node
- Lenguaje dominante
- Rust
- Estrellas
- 27.2k
- Forks
- 1.3k
- Merge medio
- 20 h 5 min
- PR fusionados (30 d)
- 57
Descripción
Related: https://github.com/GraphiteEditor/Graphite/issues/2567
If you click the dot to expose an input to the graph...

(here, the top one is exposed and the other two are not)
...it removes the control from the Properties panel and puts a connector on the node in the graph.
But that connector starts out connected to nothing. And whatever value the user had typed in the Properties panel previously, isn't represented anymore.
We want to have the process of clicking to expose an input to create a value node in the graph which is set to the same value as the Properties panel had. (This will require the creation of new value nodes, since not all representable Properties panel types have a value node yet.)
As a stretch goal, we also would like the reverse to occur: if a user un-exposes a node, it should evaluate what its current value is and set that to the input in the Properties panel. Perhaps only optionally, though, because the current behavior might be desired some (most?) of the time. This aspect can wait to be figured out or we can break it out into a separate issue.
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Línea de trabajo
Start by tracing the graph input exposure interaction, the Properties panel input handling, and existing value-node creation paths. Implement the core behavior so exposing an input creates and connects an equivalent value node with the prior Properties-panel value, including any missing representable value-node types; the un-expose behavior is optional and can remain separate.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- rust
- Área
- frontend
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 42/100