Comments (3)
这个代码的设计上是否可以去掉 register 和 unregister 的概念,全部保持是纯函数的代码片段,并设置 sideEffects: false
这个包体积还是挺大的,强烈支持最后一点,方便使用者可以 tree shaking 掉没有使用的特性。
from layout.
- register 和 unregister 是原来G6原有的概念,所以应该可以拆除
- 关于 g-webgpu 的话,可以考虑维护 layout 和 layout-gpu两个包,按需引用
- 因为是个break change,不如直接来维护成 1.0.0
from layout.
可以的,layout 就组成各种图布局算法的函数库。另外,类似的 graphlib 在工程上也注意些类似的问题~~
from layout.
Related Issues (20)
- Webpack template with ServiceWorker hack didn't work with antv/layout-wasm 1.3.0 and above
- dagreCompound布局计算的combos的offsetX,offsetY不准确 HOT 2
- 增量节点需要重新布局需要如何使用?
- X6, 2.0.8 使用报错
- dagre 布局,combo 中布局和外部布局表现不一致
- 基于 WebGPU 实现的 Frutcherman 布局
- An issue that may cause build failure when old projects use @antv/layout 0.3.x HOT 5
- 节点宽度/高度动态赋值时, 坐标计算错位.
- 工程引用@antv/xflow @1.1.52 -> @antv/layout @0.1.31 之前引入了 ml-matrix @6.10.8,现在在@antv/layout 版本不变的情况下,改为了引入ml-matrix @6.11.0,导致编译报错 HOT 4
- force2 代码报错问题
- ForceLayout类无法开启 web worker
- layout 0.3.20 之后的版本,打包出来的js有异常。导致浏览器崩溃 HOT 1
- feat: dagre布局下节点增加层级信息 & fixed: dagre布局的radial模式下0层node未返回_order属性
- Running rust layout example gives error!
- DagreLayout计算后节点排布问题 HOT 11
- fruchterman nodeClusterBy 支持 function 能够指定到 data 中的属性
- dagre布局上层某个节点连接到多个下层节点时,计算出的节点位置会有偏差
- 请问Circular布局能否指定第一个节点从最顶部排列?
- 请问Circular布局能否指定第一个节点从最顶部排列? HOT 1
- Circular布局能够支持椭圆形布局
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 layout.