X6 icon indicating copy to clipboard operation
X6 copied to clipboard

🚀 JavaScript diagramming library that uses SVG and HTML for rendering.

Results 453 X6 issues
Sort by recently updated
recently updated
newest added

### 问题描述 绘制大量节点后,导出图片会报错: size exceeded,报错的源码部分是什么含义呢 ### 重现链接 1 ### 重现步骤 绘制大量节点后,导出图片会报错: size exceeded,报错的源码部分是什么含义呢 ### 预期行为 绘制大量节点后,导出图片不报错 ### 平台 - 操作系统: [macOS, Windows, Linux, React Native ...] - 网页浏览器: [Google Chrome,...

help wanted 需要认领

### Describe the bug 如题 ### Your Example Website or App https://codesandbox.io/s/amazing-kepler-17nrz8?file=/src/app.tsx ### Steps to Reproduce the Bug or Issue 见Demo ### Expected behavior 需要能够正常获取路径 ### Screenshots or Videos _No...

type: bug 缺陷

### 问题描述 目前有这么一种场景:有一个 X6 绘制的画布,画布之外的右侧有一个input输入框,我希望能在input框失去焦点的时候能触发做一些事情,同时又能做到让画布中的节点由原本的选中状态变为非选中状态。但是从实际操作来看,在选中画布中的节点之后,去输入框输入内容,然后点击画布空白处使其输入框失去焦点,但是实际值只触发了画布中的 unselected时间,没有使输入框失去焦点,从而并未触发onBlur事件。希望的结果是 失去焦点后,要先触发input的onBlur事件,然后再去触发画布中的unselected事件。 ### 重现链接 无 ### 重现步骤 具体重现步骤,问题描述中已详细描述。 ### 预期行为 input框失去焦点后,要先触发input的onBlur事件,然后再去触发画布中的unselected事件。 ### 平台 - 操作系统: [macOS, Windows, Linux, React Native ...] - 网页浏览器: [Google Chrome,...

type: bug 缺陷

### Describe the bug 在版本1.32.7发现,snapline的sharp参数配置失效 ### Your Example Website or App no ### Steps to Reproduce the Bug or Issue 在版本1.32.7发现,snapline的sharp参数配置失效 ### Expected behavior 在版本1.32.7发现,snapline的sharp参数配置生效 ### Screenshots or Videos _No...

type: documentation 文档

### 问题描述 如图。请问我怎样可以知道我点击的是哪个连接桩呢,我想拿到对应连接桩的id。通过绑定自定义点击事件(port-click)也不行,拿到的node节点的数据. ### 重现链接 https://codesandbox.io/s/cranky-snow-xwum3g?file=/index.ts ### 重现步骤 1 ### 预期行为 期望能拿到数据 ### 平台 - 操作系统: [macOS, Windows, Linux, React Native ...] - 网页浏览器: [Google Chrome, Safari, Firefox] - X6...

type: discussion 讨论

### 问题描述 ![image](https://user-images.githubusercontent.com/73928245/179949004-4b8cce81-e117-48a9-a5fc-f6e7e0233624.png) ### 重现链接 需求 ### 重现步骤 进行线段工具的拉动时,出现了很奇怪路径 ### 预期行为 希望时平滑的线段 ### 平台 - 操作系统: [macOS, Windows, Linux, React Native ...] - 网页浏览器: [Google Chrome, Safari, Firefox] - X6...

type: bug 缺陷
help wanted 需要认领

### Describe the bug https://codesandbox.io/s/ecstatic-leaf-hvb24e 问题1: 把 innerBox 拖拽进 outterBox,点击撤回。然后移动innerBox到outterBox中,拖拽outterBox,innerBox不动。 问题2: 把 innerBox 拖拽进 outterBox,然后拖出来,点击撤回。拖拽outterBox,innerBox会跟着动。 问题3: 把 innerBox 拖拽进 outterBox,然后拖出来。点击撤回,然后移动innerBox到outterBox中,拖拽outterBox,innerBox移动两倍的距离。 这个操作还有很多类似问题,大概应该是同一个问题导致的吧 ### Your Example Website or App https://codesandbox.io/s/ecstatic-leaf-hvb24e ### Steps...

type: bug 缺陷

### 问题描述 使用vue自定义组件的节点,添加边线时,没有垂直居中. ### 重现链接 https://codesandbox.io/s/vue-shape-8ciig ### 重现步骤 在上面的连接中,添加一行边线的代码: ``` graph.addEdge({ shape: "edge", // 指定使用何种图形,默认值为 'edge' source: "1", target: "2", label: "edge", }); ``` ![image](https://user-images.githubusercontent.com/1235035/177976964-3de23428-0dfa-4fa3-9fc8-010b9b4a82c0.png) ### 预期行为 边线的在垂直方向与两按钮对齐。 ### 平台...

type: discussion 讨论

Closes: #2323 ### Description ### Motivation and Context ### Types of changes - [ ] Bug fix (non-breaking change which fixes an issue) - [x] New feature (non-breaking change which...

PR: unreviewed
pkg:x6
size/M

### Describe the bug 如何先在画布上创建好边(边的起点和终点是画布上的坐标),然后拖拽边的起点或终点,连接到目标节点上?不是通过拖拽源节点上的连接桩指向目标节点创建边。 ### Your Example Website or App 没有 ### Steps to Reproduce the Bug or Issue const trustEdge = new Shape.Edge({ source: { x: 100, y:...

type: discussion 讨论