Comments (3)
同问
from relation-graph.
+1
from relation-graph.
force力学布局需要大量实时的计算,目前会默认自动布局300次,300次之后基本上就稳定了,所以就上限300次停止了。
如果想要一直力学布局,你可以设置个定时器,定时调用
(以下代码需要relation-graph v2.x下使用)
const graph = this.$refs.seeksRelationGraph.getInstance();
graph.doLayout();
频繁,多次的调用graph.doLayout();不会让图谱额外重复的布局,可以放心的在定时器中调用。
示例:
https://seeksdream.github.io/#/demo/adv-effect
在以上示例中点击按钮【给侯亮平加两个小弟】后会继续布局
from relation-graph.
Related Issues (20)
- 示例:https://relation-graph.com/#/demos 点击跳转404 HOT 1
- 官方示例本地服务启动拖拽节点很卡 HOT 2
- vue2 使用 2.2.3版本 报错 HOT 1
- 有没有类似于把几个node围起来这种combo,或者可以实现类似效果吗 HOT 2
- 最新版本(2.2.3)对多个关系网支持有问题 HOT 1
- uniapp使用relation-graph HOT 1
- 当出现多个点指向一个结束点时(数据多时),会导致UI结构混乱,有什么办法能解决这个问题吗 HOT 1
- react: auto button title 顯示錯誤
- style: 隱藏部分按鈕時,工具欄不再居中,待優化
- react: function onFullscreen bind cannot fire
- 大佬,没有撤销回退功能吗
- force布局下,line出现异常长度 HOT 4
- 【bug】自动布局按钮,title文件 HOT 2
- 初始化加载关系重叠 HOT 5
- 下载图片线条错乱 HOT 1
- 非常规数据排版有问题, 我直接复制官网代码运行还是错乱 HOT 3
- HTML元素 & 节点内容连接点位置可以设置为border吗?目前测试只能连接到左右两边 HOT 1
- 引入报错:import { RGEditingController 等其他的 } from 'relation-graph'; HOT 1
- 节点展开/收起 可以不考虑 虚线么,是否有配置项? HOT 1
- 连线文字是否可以设置显示和隐藏,还有文字的大小和位置可以考虑自定义? HOT 1
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 relation-graph.