commit | 35fdf249b31b003a163ee0582a77c91f15782587 | [log] [tgz] |
---|---|---|
author | Matteo Scandolo <teo@opennetworking.org> | Thu Nov 30 12:29:45 2017 -0800 |
committer | Matteo Scandolo <teo@opennetworking.org> | Thu Nov 30 12:30:09 2017 -0800 |
tree | e747da52fad4a95cb8fb06b4f3e3d7d8542cc8d8 | |
parent | 6fdd37b8110367e9cc828d95a97aebcef63b03e9 [diff] [blame] |
[CORD-2324] Position the nodes not defined in the constraints Change-Id: I712a90828e0b6a12b31f62f7391feee64c123f2c
diff --git a/src/app/service-graph/components/graph/graph.component.ts b/src/app/service-graph/components/graph/graph.component.ts index 5769b6f..5f84384 100644 --- a/src/app/service-graph/components/graph/graph.component.ts +++ b/src/app/service-graph/components/graph/graph.component.ts
@@ -87,6 +87,10 @@ this.$log.info(`[XosServiceGraph] Received event: xos.sg.update`); this.renderGraph(this.graph); }); + + $(window).resize(() => { + this.renderGraph(this.graph); + }); } $onDestroy() {