antvis/G6

How can I set the label of an edge to cover the edge? , no instructions were found in the documentation #6518

lhz7695001 posted onGitHub

Describe the bug / 问题描述

例如实现这样的效果 image

No response

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

No response

G6 Version / G6 版本

🆕 5.x

Operating System / 操作系统

macOS

Browser / 浏览器

Chrome

Additional context / 补充说明

No response


设置 labelBackground: true 启用背景, labelBackgroundFill 设置背景色

posted by Aarebecca 5 months ago

可以变相实现

posted by lhz7695001 5 months ago

Fund this Issue

$0.00
Funded

Pull requests