fix: 实体关系图优化问题修改:拓展节点时,ip和domain同名情况处理

This commit is contained in:
hanyuxia
2024-06-19 11:38:48 +08:00
parent 8739d8335d
commit 17d55e3a73

View File

@@ -11,7 +11,7 @@ export default class Node {
* cfg: { entityType, entityName }
* */
constructor (type, id, data, sourceNode, strength, img) {
this.id = id + type
this.id = id + data.entityType
this.realId = id
this.type = type
this.vx = 0