Skip to content

Commit

Permalink
Fix issue #387:small changes
Browse files Browse the repository at this point in the history
  • Loading branch information
LaraMerdol committed Oct 23, 2023
1 parent 7c40865 commit a65efab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/visuall/cytoscape.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -760,7 +760,7 @@ export class CytoscapeService {
this.hideCompoundNode(nodes[i], edgeIdDict);
}
for (let i in edgeIdDict) {
this.hideCompoundEdge(this._g.cy.edges(i));
this.hideCompoundEdge(this._g.cy.edges('#' +i));
}
this._timebarService.setIgnoreChanges(false);
}
Expand Down Expand Up @@ -1034,7 +1034,7 @@ export class CytoscapeService {
for (const cluster of this._g.layout.clusters) {
const parentId = this.addParentNode(new Date().getTime() + '_' + i);
for (const nodeId of cluster) {
this._g.cy.nodes(nodeId).move({ parent: parentId });
this._g.cy.nodes('#' + nodeId).move({ parent: parentId });
}
i++;
}
Expand Down

0 comments on commit a65efab

Please sign in to comment.