Comments (9)
layout: {
type: "radial",
unitRadius: 800,
preventOverlap: true,
maxPreventOverlapIteration: 1000,
},
同时也开启了节点防重叠
from graphinsight.
@zyh0yh 是用的 G6 代码实现的吗
from graphinsight.
@zyh0yh 是用的 G6 代码实现的吗
是的,每次的渲染速度都在3-5分钟这样子
from graphinsight.
setNodes(nodes) { if (!nodes || nodes.length === 0) return []; let arr = nodes; arr.sort((a, b) => b.data.degrees - a.data.degrees); const ns = arr.map((node) => { this.setNodeType(node.data); let style = { ...node.data.style, fill: nodeTypeMap[node.data.ntype].color, stroke: nodeTypeMap[node.data.ntype].color, }; node.data.cluster = node.data.labels[0]; const stateStyles = { active: { fill: nodeTypeMap[node.data.ntype].color, stroke: nodeTypeMap[node.data.ntype].color, lineWidth: 4, opacity: 1, }, inactive: { opacity: 0.05, }, hover: { fill: "red", stroke: "#000", lineWidth: 1, }, }; return { type: nodeTypeMap[node.data.ntype].type, size: this.setNodeSize(node.data), ...node, style, stateStyles: stateStyles, }; }); return ns; },
这是我设置节点类型的方法
from graphinsight.
@zyh0yh 写个codesandbox复现下,我帮你艾特G6核心开发者
from graphinsight.
@zyh0yh 数据脱敏下,只写图结构
from graphinsight.
@zyh0yh 写个codesandbox复现下,我帮你艾特G6核心开发者
由于数据涉密,没办法进行网络的一个编写
@zyh0yh 数据脱敏下,只写图结构
好的,写好之后需要怎么操作呢
from graphinsight.
@zyh0yh 地址贴的这里,我们排查下
from graphinsight.
@zyh0yh 地址贴的这里,我们排查下
好的,那可能需要明天晚一点才能进行了,非常感谢你的帮助,我会在贴好之后给您一个回复
from graphinsight.
Related Issues (20)
- Multi Canvas Tab Bug HOT 2
- umd打包运行失败 HOT 4
- 本地部署后, 连接neo4j的saas服务报错 HOT 2
- 针对于neo4j 感觉没有必要限制是有neo4j+s的schema才可以连接 HOT 1
- [Support] Graph Rendering Exception when Querying Official Movie Dataset in Neo4j HOT 6
- 🐛bug: render issue of neo4j schema HOT 5
- Expected official SimpleNode to support image type
- updata G6 v5
- 地图模式有问题,无法查看地图只能看分布ip
- 无法连接本地Neo4j HOT 2
- G6VP网站导出的UMD源码本地运行后只能是前端中文显示,不能切换成英文 HOT 4
- G6VP网站中导出的html源码中,运行之后工具栏的图标没有任何显示 HOT 2
- G6VP中导出的ESM源码,本地运行之后前端组件全部铺开展示(The ESM source code exported from G6VP, after running locally, displays all frontend components expanded) HOT 2
- ESM Export Issue on G6VP Website HOT 1
- Suggestions for optimizing the display of edge information.
- gi-cli HOT 3
- 请问Combo中防止两个Combo重叠的算法源码在哪里
- 时间线控制器提示设置时间字段
- 时间线控制器每次设置网页都卡死出错
- 关于组件资产问题 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 graphinsight.