antvis/G6

create-edge in 5. You cannot use crtl+drag or crtl+click to create edges in X, which means that create-edge and drag-node cannot be used at the same time #6489

lvsheshamo posted onGitHub

Describe the bug / 问题描述

create-edge在5.X中的key属性定义与4.x不一样,不能使用crtl+drag或者crtl+click来创建边,导致create-edge与drag-node功能不能同时使用,请问有什么解决方案实现crtl+drag或者crtl+click来创建边吗?

No response

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

No response

G6 Version / G6 版本

🆕 5.x

Operating System / 操作系统

Windows

Browser / 浏览器

Chrome

Additional context / 补充说明

No response


CreateEdge 交互有一个 enable 配置项,你可以传入一个回调函数,检查 ctrl 按键是否被按下来控制交互是否启用

posted by Aarebecca 5 months ago

This issue has been closed because it has been outdate for a long time. Please open a new issue if you still need help.

这个 issue 已经被关闭,因为 它已经过期很久了。 如果你仍然需要帮助,请创建一个新的 issue。

posted by github-actions[bot] 5 months ago

Fund this Issue

$0.00
Funded

Pull requests