antvis/G6

使用自定义combo后 node节点不在combo内了 #6155

BDN233 posted onGitHub

Describe the bug / 问题描述

微信图片_20240808134007

No response

Steps to Reproduce the Bug or Issue / 重现步骤

G6.registerCombo('cloud-combo', { drawShape(cfg, group) { const shape = group.addShape('path', { attrs: { path: 'M 250 300 A 50 50 0 1 1 500 300 A 50 50 0 1 1 500 450 L 200 450 A 100 50 0 1 1 200 450 A 50 50 0 1 1 250 300Z', fill: '#C6E5FF', stroke: '#1890FF', lineWidth: 2, opacity: 0.8, } });

        return shape;
    }
}, 'rect');

G6 Version / G6 版本

4.x

Operating System / 操作系统

Windows

Browser / 浏览器

Chrome

Additional context / 补充说明

No response


请问,这个问题最后如何解决的呢?

posted by lhz7695001 5 months ago

Fund this Issue

$0.00
Funded

Pull requests