Comments (2)
你可以先确认一下你使用的是哪个版本。
在 0.7.5 之前,吸附的逻辑是查找最近的节点,
在 0.7.5 版本时节点吸附的逻辑进行了优化,会优先吸附到“重叠”节点的父节点上。
![draggable-node](https://private-user-images.githubusercontent.com/1690290/285775541-2f911058-e4e7-4844-8a36-9dea85303ed7.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MDg3OTY5MzEsIm5iZiI6MTcwODc5NjYzMSwicGF0aCI6Ii8xNjkwMjkwLzI4NTc3NTU0MS0yZjkxMTA1OC1lNGU3LTQ4NDQtOGEzNi05ZGVhODUzMDNlZDcucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDIyNCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDAyMjRUMTc0MzUxWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9Y2RkZGU0MTg1ZDk1ZDlhN2IyYWU0YTc1Y2FhZmMwZDZmY2NjNDc2Nzc4NTdiNThhYjJlYmMxMmVmM2EwM2U1ZCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.K9KFQoqHcej2wXue-xPpdMw7f5pKB--ls4xRErwF9Gc)
from jsmind.
转到 Discussion 区了哈。
from jsmind.
Related Issues (20)
- 能否支持导入到xmind中,或者能导出xmind支持的格式 HOT 1
- 移动端的自适应 HOT 10
- allow images to be in nodes HOT 1
- vite build error HOT 2
- 我通过这样的方式,为何下载下来的图片是空白的呢 HOT 1
- 在不触发addnode的情况下去添加节点 出现问题 HOT 5
- Implementing draggable plugin with Iframes HOT 2
- 如何单独为每个节点设置线条颜色呢 HOT 7
- 思维导图节点使用support_html属性和<span>标签自定义,点击<span>文字无法选中节点 HOT 4
- 移动或者单击节点,会提示节点找不到 HOT 5
- 如何将生成的思维导图导出呢。我这边用jm实例绘制,拿到的jm实例数据是空的,下载下来的也是空白 HOT 10
- Error: dom-to-image is required since 0.7.2 HOT 1
- uniapp中引入jsmind时, 思维导图的线 和 结点 会分开显示, 不在一起 HOT 4
- 请问可以自定义节点样式吗? HOT 2
- 请问有没有办法动态获取jsmind的高度
- 节点删除之后未及时更新 index 属性导致与index 属性相关的方法出现异常,如find_node_after等 HOT 4
- 放大后截图,存在节点错乱问题 HOT 4
- Root node not centered HOT 15
- 使用 custom_node_render 自定义节点后,拖拽卡顿,有时无法拖拽 HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jsmind.