Skip to content
Snippets Groups Projects
Commit cf073335 authored by AndiMajore's avatar AndiMajore
Browse files

removed prints

parent 944f2e02
No related branches found
No related tags found
No related merge requests found
...@@ -383,15 +383,6 @@ export class ExplorerPageComponent implements OnInit, AfterViewInit { ...@@ -383,15 +383,6 @@ export class ExplorerPageComponent implements OnInit, AfterViewInit {
} }
public async createNetwork() { public async createNetwork() {
// if (this.networkEl == null) {
// setTimeout(() => {
// this.createNetwork();
// }, 200);
// return;
// }
// if (this.networkEl.nativeElement.parentElement.parentElement.parentElement.parentElement.parentElement.parentElement.parentElement.parentElement.id !== this.id)
// return;
console.log("network " + this.id + " is set up!")
this.analysis.resetSelection(); this.analysis.resetSelection();
this.selectedWrapper = null; this.selectedWrapper = null;
// getNetwork synchronizes the input network with the database // getNetwork synchronizes the input network with the database
...@@ -420,7 +411,6 @@ export class ExplorerPageComponent implements OnInit, AfterViewInit { ...@@ -420,7 +411,6 @@ export class ExplorerPageComponent implements OnInit, AfterViewInit {
this.networkInternal = new vis.Network(container, this.nodeData, options); this.networkInternal = new vis.Network(container, this.nodeData, options);
this.networkInternal.on('doubleClick', (properties) => { this.networkInternal.on('doubleClick', (properties) => {
console.log("selected on node in " + this.id)
const nodeIds: Array<string> = properties.nodes; const nodeIds: Array<string> = properties.nodes;
if (nodeIds != null && nodeIds.length > 0) { if (nodeIds != null && nodeIds.length > 0) {
const nodeId = nodeIds[0]; const nodeId = nodeIds[0];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment