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 a4f4de3 commit 7c40865
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions src/app/visuall/cytoscape.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,6 @@ export class CytoscapeService {
const elemIdSet = new Set(elemIds);
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 Expand Up @@ -761,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 @@ -1035,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
2 changes: 1 addition & 1 deletion src/environments/environment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
export const environment = {
production: false,
dbConfig: {
url: 'http://localhost:7474/db/neo4j/tx/commit',
url: 'http://ivis.cs.bilkent.edu.tr:3001/db/neo4j/tx/commit',
username: 'neo4j',
password: '12345678'
}
Expand Down

0 comments on commit 7c40865

Please sign in to comment.