Comments (9)
能提供下最小demo给我优化下么?
from butterfly.
from butterfly.
实际使用的是vue的,这个案例里还稍微快点,vue版本好像后面还会重新绘制。
from butterfly.
是的,vue做数据绑定,肯定会慢一些,原生肯定会更快
from butterfly.
实际使用的是vue的,这个案例里还稍微快点,vue版本好像后面还会重新绘制。
我尝试了一下各个demo,我感觉挺快的呀
from butterfly.
我看了好一会,原生版已经没办法再压缩性能了,现在已经基本调得最优。现在demo的界面上200个节点+2000个锚点+361条线段,能在3s+内渲染已经是比较理想的了
from butterfly.
锚点是固定的,在后期添加锚点的时候是否可以考虑不进行位置获取设置。
from butterfly.
你这个情况太特殊了,我建议你继承我的endpoint的类,然后进行重写_init的方法
from butterfly.
好的
from butterfly.
Related Issues (20)
- 面板是否能提供插入node前的事件监听
- TreeCanvas类型,layout为compactBox。我如果不调用draw,手动去调用autoLayout方法的话,有疑问 HOT 1
- Uncaught ReferenceError: _drawPath is not defined HOT 10
- draw跟redraw的渲染问题 HOT 3
- Setting of coordinates or "d" attr values for Manhattan edges HOT 5
- canvas.draw / canvas.redraw always triggers event 'system.link.connect' HOT 2
- Missing function Group.addGroup / Group.addGroups HOT 9
- Redraw node / group HOT 5
- Moving union ingores groups HOT 2
- Invert zooming by wheel scrolling HOT 4
- Issue in next js HOT 2
- 基于react-lineage-dag 插件如何实现表层级流程得高亮 HOT 1
- 删除连线后,撤回删除,重新恢复的连线无法再用拖动的方式删除
- Future Support?
- interval导致内存泄露
- butterfly-vue 中 canvasData 是异步的,页面没渲染
- 如何固定node的z-index
- 请问是否支持工具栏,比如导出,放大缩小,或者自定义一些工具栏呢
- 官网地址无法访问 HOT 3
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 butterfly.