light_years
light_years
### 问题描述  自定义一个节点,作为edge的source,锚点应该是节点bbox,但却是内部元素 ### 重现链接 代码如下 ### 重现步骤 import { Graph } from '@antv/x6' import { Transform } from '@antv/x6-plugin-transform' const graph = new Graph({ container: document.getElementById('container'), connecting:{ router:'normal',...
### Describe the bug 生成节点时候,给节点添加了textWrap 属性  ### Your Example Website or App test ### Steps to Reproduce the Bug or Issue 估计是为了解决其他bug,x6-common/src/dom/text.ts中默认加了一个 - 字符,通过 v-empty-line 属性不显示出来,但是缩放后,此属性去除了,所以又显示出来了 ### Expected behavior...
### Describe the bug 自己写了一个,通过鼠标拖动绘制三次贝塞尔线的功能,但是在编辑贝塞尔线的时候,拖动三次贝塞尔线控制点后,贝塞尔线的终点发生了变化,通过观察是控制点没有参与外部举行的计算,终点refD方式就跟随扩大偏移了。 ### Your Example Website or App test ### Steps to Reproduce the Bug or Issue 控制点变化后,终点不应该变化 ### Expected behavior test ### Screenshots or Videos test...
### Describe the bug 通过鼠标点击,移动和双击事件,动态绘制polyline 鼠标点击事件中 第一次新增一个shape为polyline的图形,后面的点击 增加点 移动事件中,动态修改最后一个点 双击事件中,结束绘制 点赋给polyline的points属性,采用相对定位 在移动事件中,如果鼠标坐标小于起始点的时候,起始点会偏移 ### Your Example Website or App 代码如下 ### Steps to Reproduce the Bug or Issue 复现代码: ``` import...
### 问题描述 由于各种业务逻辑,监听了added事件,移动顶点的时候应该notify vertexs:move 吧 但是确是vertexs:added ### 重现链接 test ### 重现步骤 移动边的顶点 ### 预期行为 notify vertexs:move ### 平台 - 操作系统: [macOS, Windows, Linux, React Native ...] - 网页浏览器: [Google Chrome,...
### Describe the bug 自定义节点 markup时候,子元素设置magnet ,然后子元素拖拽出连接线,点击连接线,连接线的框选框位置偏移   ### Your Example Website or App 代码如下 ### Steps to Reproduce the Bug or Issue import { Graph } from '@antv/x6'...