GraphiteEditor / GraphiteEditor/Graphite
Exposing a value to the graph should add and connect up an equivalent value node
- Langage dominant
- Rust
- Étoiles
- 27.2k
- Forks
- 1.3k
- Merge moyen
- 20 h 5 min
- PR mergées (30 j)
- 57
Description
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.
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
Commencez par retracer l’interaction d’exposition de l’entrée du graphe, la gestion des entrées du Properties panel et les chemins existants de création de value nodes. Implémentez le comportement principal afin que l’exposition d’une entrée crée et connecte un value node équivalent avec la valeur précédente du Properties panel, y compris les types de value node représentables manquants ; le comportement de dés-exposition est facultatif et peut rester séparé.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- rust
- Domaine
- frontend
- Type d'issue
- Fonctionnalité
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 42/100