GraphiteEditor / GraphiteEditor/Graphite

Exposing a value to the graph should add and connect up an equivalent value node

Đang mở
#2,447 3 bình luận 0 reaction 0 người được giao Xem trên GitHub
Good First Issue Graphene
Ngôn ngữ chính
Rust
Star
27.3k
Fork
1.3k
Merge trung bình
20 giờ 5 phút
Pull request đã merge (30 ngày)
57

Mô tả

Related: https://github.com/GraphiteEditor/Graphite/issues/2567

If you click the dot to expose an input to the graph...

![Image](https://github.com/user-attachments/assets/8a44a7b9-990f-481c-945f-341969fcf14c)

(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.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

Bắt đầu bằng cách lần theo tương tác phơi bày đầu vào của đồ thị, việc xử lý đầu vào trong Properties panel và các đường dẫn hiện có để tạo value node. Triển khai hành vi cốt lõi sao cho việc phơi bày một đầu vào sẽ tạo và kết nối một value node tương đương với giá trị trước đó trong Properties panel, bao gồm mọi loại value node có thể biểu diễn còn thiếu; hành vi bỏ phơi bày là tùy chọn và có thể được giữ riêng.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
rust
Lĩnh vực
frontend
Loại issue
Tính năng
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
42/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.