Skip to content

Commit

Permalink
Fix issue #387:Fix nodes to elements
Browse files Browse the repository at this point in the history
  • Loading branch information
LaraMerdol committed Oct 22, 2023
1 parent 776dc83 commit a4f4de3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/app/visuall/cytoscape.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -202,8 +202,9 @@ export class CytoscapeService {
elemIds.push(...C.arrayDiff(compoundEdgeIds, compoundEdgeIds2));
// elements might already exist but hidden, so show them
const elemIdSet = new Set(elemIds);
this._g.viewUtils.show(this._g.cy.nodes().filter(node => elemIdSet.has(node.id())));
this._g.viewUtils.show(this._g.cy.elements().filter(element => elemIdSet.has(element.id())));
this._g.applyClassFiltering();
console.log("bUraya geldii")

if (isIncremental && !wasEmpty) {
let collection = this._g.cy.collection();
Expand Down

0 comments on commit a4f4de3

Please sign in to comment.