fix: 实体关系图优化问题修改:上一步下一步问题修改(拓展节点时,显示已拓展类型临时节点)
This commit is contained in:
@@ -79,9 +79,9 @@ export default class Node {
|
||||
const neighboringTargetLinks = []
|
||||
const neighboringSourceLinks = []
|
||||
const neighboringLinks = links.filter(l => {
|
||||
if (l.target === this || l.source === this) {
|
||||
neighboringNodes.push(l.target === this ? l.source : l.target)
|
||||
if (l.target === this) {
|
||||
if (l.target.id === this.id || l.source.id === this.id) {
|
||||
neighboringNodes.push(l.target.id === this.id ? l.source : l.target)
|
||||
if (l.target.id === this.id) {
|
||||
neighboringSourceNodes.push(l.source)
|
||||
neighboringSourceLinks.push(l)
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user