antvis / antvis/X6

希望节点增加一个flip方法,使节点变成水平/垂直镜像

Open
#1,999 4 comments 3 reactions 1 assignee Claimed by @zhang2feng View on GitHub
help wanted oscp
Dominant language
TypeScript
Stars
6.7k
Forks
1.9k
PR merge metrics
No merged PRs in 30d

Description

### Describe the feature you'd like to request

目前的节点有scale、translate、rotate等方法,唯独缺少镜像功能,希望能够增加一个flip方法,能够对节点进行镜像。

### Describe the solution you'd like

希望节点能够有flipHorizontal()和flipVertical()方法。

### Describe alternatives you've considered

虽然可以用CSS和SVG的transform来实现,但毕竟不如直接调用一个flip方法方便。

### Your Example Website or App

_No response_

### Screenshots or Videos

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.