Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Positioning node labels

Đang mở
#257 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
25/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
r
Lĩnh vực
data-visualization

Hướng nghiên cứu

No file or test is named in the issue. Start by tracing plot.data's layout implementation and the frontend/backend boundary described here, then compare the proposed fake-graph approach in the linked gist with the existing circle and force-directed paths. Done means plot.data calculates and returns usable node-label positions for the frontend.

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

Mô tả

Right now our label placement will be just wherever. That's okay maybe but certainly not great.

For some layouts, like the circle layout, we can calculate where the label should be on the frontend. For others, like force-directed, we can't if the backend is doing the laying-out.

In order to place the labels nicely, I've seen a trick that basically does a force layout but pretends the nodes and node labels are all nodes in a fake graph with links only between a node and it's label (code).

We should think about implementing this in plot.data and returning positions of node labels to the frontend.

Ngôn ngữ chính
R
Star
1
Fork
0
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

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

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của VEuPathDB/plot.data

Tất cả issue của VEuPathDB/plot.data

Issue tương tự

Thêm issue về R

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.