Comments (2)
这个是历史原因,g6 最初延用了 g2 的映射方式。g2 里传 dim 是为了能做自动的legend(图例)等。现在看来 g6 里可能不会做自动的导引元素。所以 dim 变得没有必要。后面会加上 (edge) => {} 这样的方式,预计 1.1 版本上、七月初实现。
from g6.
已经可以使用直接传入回调函数的使用方式
from g6.
Related Issues (20)
- item.update无法更新type HOT 3
- 渲染文本缺失 HOT 2
- API naming and complete Docs
- Normalize specification definition
- Logical decoupling of the layered render canvas
- Remove API of history plugin from Graph
- Change the plugin registration method
- Change the way items are created
- Change the Lod Controller plugin's usage
- v5 文档错误 HOT 5
- Remove data transform process
- Remove Tree Support
- Generate Docs from Comments
- 删除hull中的一个node,如何刷新hull让它能重新画图 HOT 2
- v5 废弃api HOT 2
- 自定义节点中部分img不显示问题 HOT 2
- 自定义节点内部多个元素与外部其他元素的连线 HOT 1
- 为什么使用自定义节点创建dom一直报错呢 HOT 10
- AddShape(imgae)遇到图像跨域报错 HOT 3
- Icon Type Image Opacity Low 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 g6.