antvis/G6

Icon Type Image Opacity Low #5332

RackweLLizm posted onGitHub

G6 Version

5.x

Describe the bug

Image Opacity Low

Your Example Website or App

localhost

Steps to Reproduce the Bug or Issue

İcon Type Image Opacity Lower

Expected behavior

Image Opacity Low ActiveRelation

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

I use G6 and Graphin libraries together. I use IMAGE type as Icon in my nodes and when there are activeRelations, the opacity of the icons in the image type does not decrease. This prevents ActiveRelations from doing its job.

let x = { ...node.getModel().style } x.icon.opacity = 0.1; graph.updateItem(node.getModel().data.id, { ...x })

I can interfere with this from the library with a similar solution. But this is very costly and when there are 1000 or more nodes on the page, there is a crash.

A less costly Graphin or G6 based solution to overcome this problem would be much appreciated.

Regards


hi @RackweLLizm, welcome!

posted by github-actions[bot] over 1 year ago

@RackweLLizm Thank you for the feedback. We will take this issue into consideration during the iteration of version 5.

posted by hustcc about 1 year ago

@hustcc Is there any development on this for v5

posted by RackweLLizm 9 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] 6 months ago

Fund this Issue

$0.00
Funded

Pull requests