diff --git a/src/app/components/project-map/project-map.component.html b/src/app/components/project-map/project-map.component.html
index b0f64d5e..241abc4b 100644
--- a/src/app/components/project-map/project-map.component.html
+++ b/src/app/components/project-map/project-map.component.html
@@ -49,7 +49,7 @@
-
+
@@ -57,6 +57,9 @@
Show interface labels
+
+ Show topology summary
+
@@ -120,4 +123,6 @@
-
+
diff --git a/src/app/components/topology-summary/topology-summary.component.scss b/src/app/components/topology-summary/topology-summary.component.scss
index 9840d4bc..63e25338 100644
--- a/src/app/components/topology-summary/topology-summary.component.scss
+++ b/src/app/components/topology-summary/topology-summary.component.scss
@@ -65,3 +65,7 @@ mat-icon {
.radio-group {
margin-top: 5px;
}
+
+.closeButton {
+ cursor: pointer;
+}
diff --git a/src/app/components/topology-summary/topology-summary.component.ts b/src/app/components/topology-summary/topology-summary.component.ts
index bec42d2c..f758af53 100644
--- a/src/app/components/topology-summary/topology-summary.component.ts
+++ b/src/app/components/topology-summary/topology-summary.component.ts
@@ -1,4 +1,4 @@
-import { Component, OnInit, OnDestroy, Input, AfterViewInit } from '@angular/core';
+import { Component, OnInit, OnDestroy, Input, AfterViewInit, Output, EventEmitter } from '@angular/core';
import { Project } from '../../models/project';
import { Server } from '../../models/server';
import { NodesDataSource } from '../../cartography/datasources/nodes-datasource';
@@ -18,6 +18,8 @@ export class TopologySummaryComponent implements OnInit, OnDestroy {
@Input() server: Server;
@Input() project: Project;
+ @Output() closeTopologySummary = new EventEmitter();
+
private subscriptions: Subscription[] = [];
projectsStatistics: ProjectStatistics;
nodes: Node[] = [];
@@ -91,4 +93,8 @@ export class TopologySummaryComponent implements OnInit, OnDestroy {
this.filteredNodes = nodes.sort(this.compareDesc);
}
}
+
+ close() {
+ this.closeTopologySummary.emit(false);
+ }
}