antvis / antvis/G6

[Feat]: 自定义 vue 组件的连接桩怎么引入

Open
#7,368 3 comments 0 reactions 0 assignees View on GitHub
question 💬
Dominant language
TypeScript
Stars
12.3k
Forks
1.6k
PR merge metrics
No merged PRs in 30d

Description

### Describe the feature / 功能描述

Image

这里使用了一个的自定义节点 去使用我们的连接关系

但是因为不能精确到每一项的连接桩设置

请问大佬,如果我需要将自定义组件中的每一项都设置一个连接桩,并且可以正常的连线应该怎么设置

我注意到我们这里是有一个 placement: [number,number] 属性的,但是这种是百分比设置,在我的列很多的时候,无法精确到某一列

求助大佬们,自定义 vue 组件的连接桩怎么引入,如何精确到某一列

### Are you willing to contribute? / 是否愿意参与贡献?

Please select / 请选择

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading the custom Vue component and connection-port documentation or entry points; no repository file or test is named in the issue. Compare the placement property with the requested per-column ports and define how each custom component item should connect precisely. Done means every item exposes its own port and connections work correctly.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
data-visualization, frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.