X6
X6 copied to clipboard
希望节点增加一个flip方法,使节点变成水平/垂直镜像
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
想请问一下, 你的水平翻转是怎么实现的啊, 单个节点还是带有链接桩的复杂父子节点