fix: 实体关系图优化问题修改:拓展节点时,ip和domain同名情况处理
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user