antvis/G6

请问如何修改边的text的样式?实现如下的展示效果 #4427

chenzilong0828 posted onGitHub

问题描述

image

尝试了修改labelCfg里的style,但是在官方文档中,貌似找不到padding属性来实现这样的效果。

###

重现链接

重现步骤

预期行为

展示如图效果

平台

  • 操作系统: [macOS, Windows, Linux, React Native ...]
  • 网页浏览器: [Google Chrome, Safari, Firefox]
  • G6 版本: [4.5.1 ... ]

屏幕截图或视频(可选)

image

补充说明(可选)

No response


Fund this Issue

$0.00
Funded

Pull requests