antvis / antvis/G6

自定义节点如何让主节点下通过addShape添加的图形支持create-edge

Open
#5,778 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
12.3k
Forks
1.6k
PR merge metrics
No merged PRs in 30d

Description

### 问题描述

树节点下通过addShape绘制节点的其他功能节点,我想让功能节点可以与其他节点建立关联

### 重现链接

### 重现步骤

### 预期行为

### 平台

- 操作系统: [macOS, Windows, Linux, React Native ...]
- 网页浏览器: [Google Chrome, Safari, Firefox]
- G6 版本: [4.5.1 ... ]

### 屏幕截图或视频(可选)

![Snipaste_2024-05-28_12-17-03](https://github.com/antvis/G6/assets/143673019/33fa485c-e404-4cd9-993a-4a9343638230)

### 补充说明(可选)

_No response_

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue contains no reproduction, files, tests, or entry points, and only asks whether shapes added under a custom tree node can participate in create-edge. Start by obtaining a minimal reproduction and tracing the custom-node and edge-creation documentation or entry points; done criteria should specify how the added shape connects to another node.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
data-visualization, frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.