antvis/G6

通过addItem添加combo 动画消失了 #4565

ONwaiting posted onGitHub

Describe the bug

通过addItem添加combo 动画消失了

Your Example Website or App

https://stackblitz.com/

Steps to Reproduce the Bug or Issue

if (type === 'module') { const combos = { id: +new Date() + '', type: 'cRect', label: '组件', x, y, } graph.addItem('combo', combos)

Expected behavior

期望addItem 添加的combo和data初始化的combo保持一致

Screenshots or Videos

No response

Platform

  • OS: [e.g. macOS, Windows, Linux]
  • Browser: [e.g. Chrome, Safari, Firefox]
  • Version: [e.g. 91.1]

Additional context

No response


将节点拖到组合里面,组合的缓慢变大的渐变动画

posted by ONwaiting almost 2 years ago

graph.addItem('combo' 请问这个方法有没有配置项可以打开动画

posted by ONwaiting almost 2 years ago

通过这个方式加的 combo 动画默认关闭,尝试 combo.set('animate', true)

posted by Yanyan-Wang almost 2 years 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] 10 months ago

Fund this Issue

$0.00
Funded

Pull requests