antvis/G6

The issue has been closed
How to work correctly with text? #2639
mostopalove posted onGitHub
OS: MacOS Catalina 10.15.7 @antv/g6: 3.8.5
1) How to place arbitrary length text centered in a rectangle using the labelCfg parameter?
2) How to define a conditional rectangle for label in an image node? Make sure that the text does not go beyond the frame and wraps correctly.
see screenshot.