Comments (3)
这个是迭代计划的一部分
from graphin.
@pomelo-nwu G6 内置的多选 https://g6.antv.vision/zh/docs/manual/middle/states/defaultBehavior/#click-select
from graphin.
Hi @baizn i added the script like:
const register = {
behavior: () => [{
modes: {
default: [
{
type: 'click-select',
trigger: 'ctrl',
},
],
},
}],
};
<Graphin data={graphReducerData} layout={options} register={register}>
But i get the error:
TypeError: item.register is not a function
index.js:4554
TypeError: this.clearEvents is not a function
2 index.js:6909
TypeError: item.register is not a function
Any advice?
from graphin.
Related Issues (20)
- GraphInsight无法打开github页面 HOT 3
- ZoomCanvas中minZoom和maxZoom类型为undefined,导致TS检查报错 HOT 1
- Animation broken when adding new node on new Graphin projects HOT 1
- Minimap is not attached/relative to the graph HOT 1
- Legend doesn't work when BindType='edge' HOT 1
- Legend.Node in Graphin package assumes bindType is Node in click handler. Throws `item.getEdges` is not a function error on item click. HOT 2
- import { Statistic } from '@antv/graphin-components'; 找不到 HOT 1
- TypeError: Cannot read properties of undefined (reading 'manipulateBehaviors') at AbstractGraph.removeBehaviors (graph.js:588:1) HOT 7
- modeController is undefined HOT 5
- Type definition incorrect in LassoSelect behavior onSelect callback HOT 1
- options 中的minNodeSpacing不起作用
- Misspelled type name in source code HOT 1
- Tooltip positioning error in custom nodes HOT 1
- The starting point is the same as the end point, the direction of rotation problem HOT 3
- Graphin.Legend should hide node halo as well HOT 2
- Partial render size is too small causing artefacts on labels HOT 1
- Resizing causes the height to jump
- uniqBy 导致渐进力导布局失败
- graphin-circle node with badges type image cannot work with offset HOT 2
- 官网文档里的demo报错 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 graphin.